Hi all!
We’re facing an issue since the last Friday, where using an alternate template (https://shopify.dev/themes/architecture/templates#render-an-alternate-template-in-a-published-theme) will make Shopify Analytics stop working.
eg.
#1 - This page doesn’t track visits —> https://www.plantr.co.za/products/apogee-planter-contemporary-desk-table-planter?view=quote
#2 - This page does track visits —> https://www.plantr.co.za/products/apogee-planter-contemporary-desk-table-planter
Looking at the differences in the source code of the pages, we realize that there’s some issue with the {{content_for_header}} not fully rendering…
The Trekkie script is not present on the alternate page (the one with the ?view=quote parameter), which means no native pixel codes are being loaded (Google & Facebook), even the Shopify analytics is not registering visits to those pages.
I’ve checked several pages hosted on Shopify, and it seems all of them are facing the same issues!
Shopify Support is just giving nonsense answers not related to the real issue so I don’t know how to get help from them.
we use the alternate templates as landing pages for our Facebook ads… and this is a big issue that is preventing us to properly track visits and conversions coming from the ads.
Does anyone have any thoughts about this?
