"}]},{"@type":"HowToStep","position":3,"name":"Publish your site","text":"Save the Custom Code panel and click Publish. Custom code only runs on published (not preview) domains."},{"@type":"HowToStep","position":4,"name":"Verify the install","text":"Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools)."}]}

Install guide · no-code · ~2 min

Install Admaxxer on Webflow

Project Settings → Custom Code → Head.

Webflow has a built-in slot for custom head code at the project level. Pasting the Admaxxer snippet there installs the pixel on every published page — no per-page edits.

Steps

  1. 1 Open Project Settings

    In the Webflow Designer, click the site name (top-left) → Project SettingsCustom Code tab.

  2. 2 Paste the snippet into Webflow

    In Webflow, navigate to the Head Code text area under Custom Code. Paste the snippet below and save. It must be in the site-wide <head> so it fires on every page.

    html
    <script defer
      data-website-id="YOUR_WEBSITE_ID"
      data-domain="yourdomain.com"
      src="https://cdn.admaxxer.com/js/script.js"></script>
  3. 3 Publish your site

    Save the Custom Code panel and click Publish. Custom code only runs on published (not preview) domains.

  4. 4 Verify the install

    Load any public page on your site in a fresh browser tab. Within a few seconds, the Admaxxer dashboard realtime view should show the event. If nothing lands after 2 minutes, re-check the snippet is actually in the rendered HTML <head> (View Source, not just DevTools).

Verify installation

Troubleshooting

No events on the webflow.io preview URL.
Custom Code Head runs only on published domains. Use your live custom domain, or set data-domain to yoursite.webflow.io if you want to test on the staging URL.
No events are showing up. What now?
Open DevTools Console and Network. Filter for script.js and /api/event. If they are blocked:csp, your Content Security Policy is blocking admaxxer.com — see /documentation/troubleshoot/csp. Also double-check that data-website-id matches the ID shown in your dashboard.
Events show up in staging but not production.
Confirm data-domain matches the production hostname exactly (no protocol, no trailing slash). Also confirm the website's Allowed Domains list in settings includes the prod domain.
My site is a single-page app — am I missing pageviews?
Use script.hash.js if you rely on location.hash routing. Otherwise the default script.js already hooks history.pushState/replaceState and tracks SPA navigations.