> INSTALLATION_GUIDE

Install on
Shopify.

Paste one snippet before </body>. Takes under 60 seconds.

Install via theme.liquid

  1. 1 From your Shopify admin, go to Online Store → Themes.
  2. 2 Click the menu on your active theme and select Edit code.
  3. 3 In the Layout folder on the left sidebar, click theme.liquid.
  4. 4 Use Ctrl+F (or Cmd+F on Mac) to search for </body>.
  5. 5 Paste your snippet immediately before the </body> tag.
  6. 6 Click Save.

Your Tracking Snippet

Replace YOUR_SITE_ID with the Site ID shown in your AEOfix dashboard snippet banner. If you have rotated your key, use the exact snippet from the dashboard — it already includes &key=xxx.

<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: Most Shopify themes have one </body> tag in theme.liquid. If you see more than one, paste before the last one.

Checkout Pages

Shopify's checkout pages (cart, order confirmation) use a separate template and may require Shopify Plus to customize. The snippet on theme.liquid covers all storefront pages — product pages, collections, blog posts, and more.

Note: AI bots typically crawl your product pages, collections, and blog — all covered by the theme.liquid snippet.

Dawn & Online Store 2.0 Themes

For Shopify's newer Online Store 2.0 themes (including Dawn, Sense, Craft, and others), the approach is identical. theme.liquid still exists and still contains the closing </body> tag. No additional steps are needed for OS 2.0 compatibility.

Verify Installation

  1. 1 Visit your live storefront in your browser.
  2. 2 Open DevTools (F12) → Network tab → filter by bot-pixel.
  3. 3 You should see a 200 GET request. Check your AEOfix dashboard after 24 hours for the first AI crawler hits.