Recently our analytics pixels stop firing and we had not made any changes to the site at all.
For some reason Google analytics still worked but the shopify analytics and facebook analytics does not. I have since manually added facebook analytics but it’s not ideal.
All analytics work for the checkout pages so it must be the theme. Shopify technical support team told me to ask you.
There is also a syntax error so I assume this is related?
Any ideas please?
I have tried rolling back the theme to long before when this issue started and the error is still there. Please could you take a quick look and let me know what file I should be working on to fix this?
Your help is much appreciated, otherwise I will have to install a new theme.