Questions Google Universal Analytics

ani2012
Visitor
ani2012

I have 3 questions on Google Universal analytics variable mapping.

 

  • What “Event Type” option should I select when map custom dimension for Hit, Session, User and Product dimensions, same question for custom metrics. 

  • How to select dimension, metrics value if increase from 20 in Tealium.

  • Do I need to define any type of event_type to trigger any Google Analytics tag such as page view, ecomm, event.

 

thx

5 REPLIES 5

Questions Google Universal Analytics

Paul
New Member
Paul

Hello again @ani2012@cherr_batac pointed me to this post: https://community.tealiumiq.com/t5/User-Documentation/SERIES-Google-Universal-Analytics/ta-p/9494

 

Hopefully it will answer some of your questions.

Questions Google Universal Analytics

IWAG_FSchl
Visitor
IWAG_FSchl

Hello.

 

I have the same question, but the link isn't really helpful for this specific question.

The documentation only says that there is an option to map custom dimensions but not what the event types stand for.

Questions Google Universal Analytics

Tealium Employee

Hi,

The true "scope" of custom dimensions and metrics is defined in the GA interface when you create the dimension (here I'm referring to hit/session scope, that used to be defined client-side in the legacy GA tag by using different cvar numbers e.g. 3.1).

Google also supports sending hit-level custom dimensions specifically for different kinds of events, for example transaction, product view, product click etc. These events are generally defined by setting the "enh_action" mapping in the tag (see here https://community.tealiumiq.com/t5/Tags-and-Client-side/Google-Universal-Analytics-Tag-Enhanced-E-Co...). These events can be selected from the drop-down boxes in the custom dimensions/metrics tab in the mapping toolbox.

Does this answer your questions?

Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

Questions Google Universal Analytics

IWAG_FSchl
Visitor
IWAG_FSchl

Hi Craig,

 

thanks for your reply and answering my question.

 

Another question is, what is the difference between "All page hits (set)" and "pageview"?

 

Does "All page hits (set)" mean even in case of asynchronous calls and "pageview" only in case of a page reload?

And what does the "(set)" mean?

Questions Google Universal Analytics

Tealium Employee
Good question.

All page hits (set) means that we use the Google Analytics "set" command to set the custom dimension/metric. The "set" command sets the variable for the current hit and all subsequent hits until the page reloads. For example, if the cdim is triggered on page load, and you have subsequent utag.link calls on the page for link tracking, all the events would receive the same cdim, even if it was not present in the data layer on that specific hit (you can think of it like a cache).

The "Pageview" scope means that the cdim/metric will only be sent once, as long as the event is a page view/utag.view event. Example:

utag.view({page_name:"homepage", country: "UK"}); // if country is mapped to cdim1 with pageview scope, cdim 1 will receive the value "UK"
utag.link({link_name:"home button"}); // here, country won't be sent again. If you switch to "All page hits" scope, however, country would still be present, despite not being available in the data object

Does that help to clarify things? The GA documentation on Google's support site explains the set mechanism in a bit more detail.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.