-
Troubleshooting Shopify theme's failure to fire Google Analytics 4 ecommerce events
“Hey there, I’ve been fiddling around with Google Analytics 4 and started dabbling with our Shopify store. I added an ecommerce dataLayer push in a liquid file in the Sections folder, but for some reason, the dataLayer isn’t updating. I’m attempting a basic ‘view_item’ event, scanning religiously for typos. So just to troubleshoot, I swapped our ecommerce dataLayer push with a ‘test_event’ containing some nonsense data, and voila – it fired. Why isn’t Shopify playing nice with my eCommerce push to the dataLayer? Here’s what my code looks like…”
Log in to reply.