Reputation: 203
I need a detailed (hopefully) clarification about the working of Enhanced Ecommerce Events tracking via Google Tag Manager and dataLayer.
Here I'm firing an "event" Analytics Tag, inside GTM, when the trigger below is verified:
Here, instead, the Tag main properties:
Those events are correctly fired when I do the appropriate "dataLayer.push" on my ecommerce button clicks. I know that because I get those ecommerce events data into Analytics, but I can't debug image requests directly.
I can check how the dataLayer obj is filled with new properties (below the last scree) but no Tag requests in network console.
Here's the opportunity, for me, to better understand the "first-in" / "first-out" working of dataLayer queue when it's listened by GTM.
Upvotes: 2
Views: 811
Reputation: 8907
Just pushing values to the dataLayer won't necessarily show anything in the network console. You need to use the dataLayer parameters to:
What you already are pushing is a great start - you have your event
(which is key) and you have your ecommerce object, presumeably containing the information you need to feed into GA. Now you just need to create the tags that fire based on the event, populated with the your ecommerce details.
Once your tag fires, you should then start to see data in GA.
Edit: To see the hits in the Network tab, you would need to filter by the something like the name of the hit (ie. "collect"). Make sure you are not applying any "type" filters (ie. image, XHR, JS, CSS).
Upvotes: 0