Ecommerce event not triggering
-
We have recently posted a ticket regarding the purchase firing twice, and you suggestion was to change the “dataLayer variable name”, which have the solved the first issue but another one has appeared.
Now the event isn’t firing on many of the ecommerce events, example is “view_item”. We have check the code of the page and it is showing this. As a type of troubleshooting we have removed the new datalayer name and the event “view_item” fired.
<!-- GTM Kit --> <script data-cfasync="false" data-nowprocket=""> var dataLayer_content = {"userRole":"administrator","productType":"simple","event":"view_item","ecommerce":{"items":[{"id":"gla_ultra22sku01","item_id":"gla_ultra22sku01","item_name":"Ultra Massage Gun Prime, Handheld Massager, Percussion Massager","currency":"AED","price":295,"google_business_vertical":"retail","item_category":"Massage Guns"}],"value":295}};gtmkitDataLayer.push( dataLayer_content );</script>
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Ecommerce event not triggering’ is closed to new replies.