Track
Learn about the methods for tracking user activity.
Track Views
To track a screen view, create a TealiumView
object and pass it to the track()
method:
let view = new TealiumView('VIEW_NAME', new Map([['KEY', 'VALUE']]));
Tealium.track(view);
Track Events
To track a non-view event, create a TealiumEvent
object and pass it to the track()
method:
let event = new TealiumEvent('EVENT_NAME', new Map([['KEY', 'VALUE']]));
Tealium.track(event);
This page was last updated: January 7, 2023