Shopify
Add the script to your theme.
Shopify pages all share one theme layout file, so you only paste once.
Steps
In Shopify admin open Online Store → Themes.
Next to your live theme click the three dots, then Edit code.
Under Layout open theme.liquid.
Find the closing head tag and paste this just above it:
<script defer data-site-id="YOUR-SITE-ID" src="https://spintaxifycms.com/js/analytics.js"></script>Click Save.
Note: Shopify's own checkout pages do not load theme code, so they are not counted. Revenue from Shopify can still be matched with the payment tracking in Analytics → Settings → Revenue.
Check it works
Open your site in a normal browser window (not one where you are logged in as admin, if you excluded admin pages). Then open Analytics in Spintaxify. Within a few seconds Online now shows 1, and the setup card ticks Install the script.
Tip: your site ID is in Analytics → Settings → General. Copy the snippet from there and it is already filled in.
Something missing? Contact us and tell us what you were looking for.