2
votes

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:

enter image description here

Here, instead, the Tag main properties:

enter image description here

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.

enter image description here

1
Did you have any specific question(s)? I'm not clear on what you need help with. Thank you.nyuen
Why I can't see any requests in network console when doing dataLayer.push? How does dataLayer queue works in terms of requesting to Analytics servers / firing relatd Tags ? ThxRiccardo Malesani
Thx but the tag is already firing based on those events (as I described above) and I'm able to see data in Analytics! The only thing missing here is the requests in console...Riccardo Malesani
Sorry, can you please clarify what you expect to see in the console? Are you meaning that you would like to see the GA ecommerce transaction hits in the console? You won't see those unless you are actually consoling something. Or do you mean that you want to see the hits in the Network tabs?nyuen
Exactly this, the hit in Network tab. Why there isn't any while I can feed data into Analytics?Riccardo Malesani

1 Answers

0
votes

Just pushing values to the dataLayer won't necessarily show anything in the network console. You need to use the dataLayer parameters to:

  1. fire your tags
  2. send data into GA processes (ie. ecommerce)

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).