Track
Learn about the methods for tracking user activity.
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"});
This page was last updated: January 7, 2023