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:
var view = TealiumView('VIEW_NAME', {'KEY': 'VALUE'});
Tealium.track(view);
Track Events
To track a non-view event, create a TealiumEvent
object and pass it to the track()
method:
var event = TealiumEvent('EVENT_NAME', {'KEY': 'VALUE'});
Tealium.track(event);
This page was last updated: March 15, 2024