How are you triggering the analytics pixel? Through Google Tag Manager?
Install - https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk?h... and enable it and go to product page and see if the analytics is triggering.
We added the analytics code in the preferences panel, not GTM. It is there on the shopify side, but we don't get any data in analytics for the /collections or products. & I can see the UA-# referenced on view source code.
Yes, I do have errors showing up via tag assistant on our /collections pages. There were a couple errors.
1. Invalid call to gtag(), the Global site snippet is not installed
2. No Google Analytics HTTP responses because opted out code detected.
Additionally, we have a testing shopify site that I tried a few things on but haven't been able to recreate the data loss in a GA - testing property. Our developers added the same customizations and apps to the testing site as what we added when data loss began but on the testing site, I have GA data. I appreciate any ideas you have on where to go to solve this.
sure, https://shop.dazzledry.com/collections all collections and products are having trouble.
The opt out error may have been a chrome extension to block myself in GA come to think of it, so it may not be a real clue. I double checked our GTM and the analytics is only in Shopify. The newest changes were a filtering app and custom snippet for product display. But.. when they are both running on a testing site, my GA is fine - but the app messed with the custom snippet's function (per our developers)
I think you have both Google Tag Manager and Google Analytics. I suggest you disable the Shopify Google Analytics (disable it from Admin) and add Google Analytics. Now Google Tag Manager also not completely installed correctly. Follow this https://help.shopify.com/en/manual/reports-and-analytics/google-analytics/google-tag-manager
Google Tag Manager - Add your GA code in Google Tag Manager
Create E-Commerce tracking in Tag Manager
Testing with removal of GTM which we had been using to link to AW for some conversion tracking. Analytics was installed via the preferences and worked without issues until recently. At this point, I'm willing to try anything though.
And yeah, our GTM had been hard coded, so I'm looking into that with our developer. thanks
The purpose of Tag Manager is to avoid multiple codes in the frontend. I would never advise to have multiple pixels on the site as it affects website performance and user experience overall. A lot of people don't understand the purpose of Tag Manager. Please read it here https://ayruz.com/google-tag-manager/