Shopify
Shopify themes have a single theme.liquid file that wraps every storefront page. Add the snippet there and it applies everywhere.
Go to your theme code editor
In your Shopify admin, go to Online Store → Themes. Click the ⋯ menu next to your active theme and choose Edit code.
Open theme.liquid
In the file list on the left, look under Layout and click theme.liquid.
Paste the snippet before </head>
Find the closing </head> tag and paste the snippet just before it:
<script defer src="https://api.snowanalytics.app/sa.js" data-site="YOUR_SITE_ID"></script>
</head>Save
Click Save. The change takes effect immediately, with no publish step needed.
This snippet tracks all storefront pages (home, product, collection, blog, etc.). Checkout pages are hosted on Shopify’s own domain and have restricted script access on non-Shopify Plus plans, so those pages may not be tracked.
Verify
Visit your store in a browser, then check the Live view in the Snow dashboard. See Troubleshooting if nothing appears.