1 Site-wide Install Recommended

Adding the snippet to Site Settings covers every page on your Framer site — including CMS-generated pages — with a single paste.

  1. 1In Framer, click the gear icon in the top-right corner to open Site Settings.
  2. 2Click the General tab.
  3. 3Scroll down to the Custom Code section.
  4. 4Find the "End of <body>" field at the bottom of the Custom Code section.
  5. 5Paste your tracking snippet into that field.
  6. 6Click Save.
  7. 7Publish your site — custom code requires publishing to take effect on your live or staging domain.

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 the Site ID from your AEOfix dashboard. If you have rotated your snippet key, use the exact snippet shown in the dashboard — it already includes &key=xxx automatically.
Note: Changes to Custom Code do not appear in the Framer preview canvas. Publish to your live or staging domain to test that the snippet is firing correctly.

2 Per-page Install Optional

To add tracking only on specific pages rather than the entire site, use Framer's per-page custom code field.

  1. 1In the Framer canvas, right-click the target page in the Pages panel on the left.
  2. 2Select Page Settings from the context menu.
  3. 3Scroll to Custom Code and locate the End of <body> field.
  4. 4Paste your tracking snippet and save.
Note: Site-wide installation via Site Settings is recommended — it captures AI bot visits to all pages in a single setup and requires no repeat configuration as you add new pages.

Framer CMS pages

If you use Framer CMS for blog posts or other dynamic content, the site-wide snippet automatically applies to all CMS-generated pages. You do not need to configure anything separately for CMS collections — publish once and every page is covered.

Verify it's working

After publishing, confirm the snippet is firing on your live site:

  1. 1Open your live Framer site in a browser.
  2. 2Open browser DevTools (F12) and go to the Network tab.
  3. 3Filter requests by typing bot-pixel in the filter bar. A 200 GET request confirms the snippet is firing correctly.