I followed the instructions from this documentation: https://help.shopify.com/en/manual/promoting-marketing/pixels/custom-pixels/gtm-tutorial
I created a pixel in the customer events feature for one of our stores. I added the gtm container code the same way the documentation suggests, yes, I removed the script tags. I can see events being fired from my gtm container, the issue I noticed is that it seems like the gtm container sometimes loads and sometimes not, for example, let’s say I go to my home page and I can see the gtm container loads, I also can see the Meta and the GA4 event was fired, but, if I navigate to a product page, it doesn’t load. This is not happening in this specific order, it happens randomly, sometimes it loads, sometimes it doesn’t and on different pages.
I wanted to troubleshoot a little bit so, I added one more gtm container, however, I added this one in the theme.liquid file so I compared the data between this new container and the one that lives in the customer events section (pixel). And, the results show me that the gtm loading from the theme.liquid file is getting 50% more data (this is more accurate to our data) than the one loading from the pixel in the customer events section.
Has anyone else faced this issue?