How do I display this specific data on Google Analytics which I recieve in my Google Tags preview?

35 Views Asked by At

Tag Assistant Preview

This is my first time working with Google Analytics beacuse of client requirement and after getting the values, I have no idea how to show data in Reports/Realtime Preview. Could someone help me as noone at my office knows how this works. Pointing me to a documentation or how-to would be helpful too as I don't have much time and deadline is a day away from me

1

There are 1 best solutions below

2
On BEST ANSWER

Yes, you make a DLV like so: enter image description here

Then you test it like so on the site's console while running it in GTM preview:

dataLayer.push({event:"test", eventModel: {event_category: "pew-pew-pew"}});

Then you go back to the preview, find your test event, go in it, switch to variables and there you'll see your variable like so: enter image description here

Now you can reference it in UI.

Note: this only works in DLV v2. Won't work in version 1. But it's not like you normally need the version 1. And you still can go deeper in version 1, but using CJS. Don't use v1 unless you know what you're doing.