Fixing Double DataLayer Pushes on Ecommerce Events because of eventModel
Here’s a typical problem in Shopify and Woocommerce configurations: in Google Tag Manager, you notice double datalayer pushes of ecommerce events, specifically “view_item”, “add_to_cart”, and “purchase” events. This pollutes your data, and it’s caused by the simultaneous presence of one app or plugin pushing GA4 DataLayer events, and another one pushing Google Shopping DataLayer events. … Read more