Install on
Squarespace.
Paste one snippet before </body>. Takes under 60 seconds.
Requirements
⚠ Warning: Squarespace's Code Injection feature is only available on the Business plan or higher. It is not available on the Personal plan. If you are on Personal, you will need to upgrade before proceeding.
Install Steps — Site-wide Footer Injection Recommended
This method injects the snippet on every page of your site automatically, which gives you complete coverage of all AI bot activity across your entire Squarespace domain.
- 1 In your Squarespace dashboard, click Settings (the gear icon in the left sidebar).
- 2 Scroll down in the Settings panel and click Advanced.
- 3 Click Code Injection.
- 4 Scroll to the Footer section.
- 5 Paste your tracking snippet into the Footer Code Injection box.
- 6 Click Save.
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.
Note: Footer Code Injection runs on every page of your site — which is exactly what you want. Every page will report AI crawler visits to your AEOfix dashboard.
Per-page Injection Optional
If you only want to track specific pages rather than your entire site, Squarespace also supports per-page code injection.
- 1 Open the specific page in the Pages panel.
- 2 Click the gear icon next to the page name to open its settings.
- 3 Click the Advanced tab within the page settings panel.
- 4 Paste your snippet into the Page Header Code Injection field.
Note: Site-wide footer injection (the main method above) is recommended over per-page injection. It requires less maintenance and gives you more complete data as your site grows.
Verify it's working
After saving, confirm the snippet is firing:
- 1 Visit your Squarespace site in a browser.
- 2 Open browser DevTools (F12) and go to the Network tab.
-
3
Filter requests by typing
bot-pixelin the filter bar. You should see a request with a 200 status code.