Site-wide Install — Project Settings Custom Code Recommended

This method adds the tracking snippet to every published page on your Webflow project automatically. It is the fastest path to complete coverage.

  1. 1Open your project in the Webflow Designer.
  2. 2Click the gear icon (Site Settings) in the left panel.
  3. 3Click the Custom Code tab.
  4. 4Scroll to the Footer Code section — labelled "Before </body> tag".
  5. 5Paste your tracking snippet into the Footer Code box.
  6. 6Click Save Changes.
  7. 7Publish your site — custom code changes require a publish to go live.

Your tracking snippet

<script>(function(){var i=document.createElement('img');i.width=1;i.height=1;i.style.display='none';i.alt='';i.src='https://aeofix.com/api/bot-pixel?page='+encodeURIComponent(location.pathname)+'&site=YOUR_SITE_ID';document.body.appendChild(i);})();</script>
Note: Replace YOUR_SITE_ID with your actual Site ID from the dashboard snippet banner. If you've rotated your key, use the exact snippet from your dashboard — it already includes &key=xxx.
Warning: You must publish your site after saving Custom Code. Changes in Custom Code do not preview in the Webflow Designer — publish to a staging or production domain to test them.

Per-page Install Optional

To track only specific pages, Webflow supports page-level custom code in addition to site-wide code.

  1. 1In the Designer, open the Pages panel from the left toolbar.
  2. 2Hover over the page you want to track and click the gear icon to open its settings.
  3. 3Scroll to the Custom Code section within the page settings and find the Before </body> tag field.
  4. 4Paste your tracking snippet and click Save, then Publish.

Webflow Memberships & Logic

If your site uses Webflow Memberships to gate pages behind a login, the AEOfix tracking snippet works the same way. AI bots access the public-facing version of your pages regardless of any membership gates — so the snippet fires correctly and captures all crawler activity.

If you use Webflow Logic or conditional visibility, the snippet is injected at the page level before any Logic runs, so tracking is unaffected by form automations or workflow conditions.

Verify It's Working

  1. 1Open your live published site in a browser. Do not test in the Webflow Designer preview — custom code does not run there.
  2. 2Open browser DevTools (F12) and go to the Network tab.
  3. 3Filter requests by typing bot-pixel in the filter bar. You should see a request firing on every page load with a 200 status code.
Note: If you do not see the request, confirm that you have published your site after saving the Custom Code — unpublished changes will not fire. Bot visit data appears in your AEOfix dashboard within 24 hours.