Requirements
Note: Footer code injection requires a Weebly paid plan (Personal, Professional, or Performance). The free plan does not support custom code in the footer.
On any paid Weebly plan, the Footer Code field is available under Settings → SEO and applies to every page on your site automatically.
1
Method 1 — Site-wide Footer Code Recommended
Weebly's Footer Code field injects your snippet automatically on every page of your site — no per-page configuration needed.
- 1In the Weebly editor, click Settings in the top navigation.
- 2Click the SEO tab.
- 3Scroll to the Footer Code section.
- 4Paste your tracking snippet into the Footer Code box.
- 5Click Save.
- 6Publish your site.
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: This injects the snippet on every page of your Weebly site automatically — no per-page configuration required.
2
Method 2 — Per-page Embed Element Optional
To track a specific page only, drag an Embed Code element onto that page in the Weebly editor.
- 1Open the target page in the Weebly editor.
- 2From the Build panel on the left, drag an Embed Code element onto the page.
- 3Click on the element and select Edit Custom HTML.
- 4Paste your tracking snippet into the editor.
- 5Save and publish your site.
Square Online (rebranded Weebly)
If your Weebly account has been migrated to Square Online, the UI is different but the same footer code injection is available under a different path:
- 1Go to your Square Online dashboard.
- 2Navigate to Website → Pages.
- 3Click Edit Site to open the editor.
- 4Go to Settings → Advanced → Header & Footer Code.
- 5Paste your tracking snippet into the Footer field and save.
Note: Square Online's UI differs from classic Weebly. If you do not see an SEO tab, look under Settings → Advanced for the footer code injection field.
Verify it's working
After publishing, confirm the snippet is firing on your live site:
- 1Open your live Weebly site in a browser.
- 2Open browser DevTools (F12) and go to the Network tab.
- 3Filter requests by typing
bot-pixel in the filter bar. A 200 response confirms the snippet is active.