Install Analytise on Shopify
Edit theme.liquid once and the snippet ships to every storefront page.
Edit theme.liquid
- In your Shopify admin, go to
Online Store → Themes. - Click
… → Edit codeon your live theme. - Open
layout/theme.liquid. - Paste the snippet just before
</head>and save.
{% comment %} layout/theme.liquid {% endcomment %}
<script
defer
data-domain="yourwebsite.com"
data-site-id="YOUR_SITE_ID"
src="https://www.analytise.com/js/tracker.js">
</script>
</head>Checkout pages
Shopify's native checkout runs on its own flow, so checkout steps aren't covered by the storefront snippet on non-Plus plans. For most stores tracking the storefront is enough — revenue attribution still works via the Stripe gateway sync.
Verify it works
- Open your website in a new tab.
- The dashboard shows your visit under
onlinewithin a few seconds (live visitors update every ~15s). - Nothing showing? See Troubleshooting.
Next guide
Webflow