Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all,
I am trying to push standard DataLayer values from the analytics object to DataLayer, following the documentation here: https://shopify.dev/docs/api/web-pixels-api/standard-events/page_viewed. Unfortunately, I don't see the analytics object defined, and therefore I am getting an error. Does the analytics object need to be initialized/enabled somewhere?
Thanks!
Pavel
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025