Track
Learn about the methods for tracking user activity.
This is the previous version (1.x) of Tealium for Cordova.
For the current version, see Tealium for Cordova 2.x.
Track Views
The trackView()
method tracks every time a user opens or changes a screen in the app, as shown in the following example:
tealium.trackView({tealium_event : "SCREEN_NAME", "KEY1": "VALUE1"}, "INSTANCE");
Track Events
The trackEvent()
method tracks all non-view activity, as shown in the following example:
tealium.trackEvent({"tealium_event": "EVENT_NAME"}, "INSTANCE");
This page was last updated: September 24, 2025