0
My tracking script is in a Head snippet but it never fires. What's wrong?
I pasted my analytics code into a Code Snippet with the location set to Head, and the dashboard shows no visits.
· 3 views1 answer
0
Accepted
Scripts placed in the Head location are added to the page but don't run. Head is fine for meta tags, links and styles. For code that must run, use a body location:
- Open Code Snippet in the Settings sidebar and click Edit on the snippet.
- Change Location to Body start or Body end.
- Keep Type on HTML / JS and paste the code with its own script tags, exactly as your provider gives it.
- Make sure Enabled is ticked and click Save.
Then reload your storefront and check your tracking tool again.
Sign in to answer. Sign in or create an account.