Track
Once TealiumUtagService
has been initialized, add tracking calls throughout the application code.
Track Views
The view()
method tracks page views. This method takes an object of key-value pairs as the single parameter, as shown in the following example:
this.tealium.view({
"tealium_event" : "SCREEN_NAME",
"page_type" : "PAGE_TYPE",
"product_id" : ["PRODUCT_ID"]});
Track Events
The link()
method tracks in-page events. This method takes an object of key-value pairs as the single parameter, as shown in the following example:
this.tealium.link({
"tealium_event" : "EVENT_NAME",
"customer_id" : "CUSTOMER_ID"});
Was this article helpful?
This page was last updated: October 31, 2019