Track
Learn about the methods for tracking user activity.
This is the previous version (1.x) of Tealium for React Native.
For the current version, see Tealium for React Native 2.x.
Track Views
The trackView()
method tracks screen views, as shown in the following example:
Tealium.trackView("VIEW_NAME", {"KEY": "VALUE"});
If multiple instances of Tealium are running, use the trackViewForInstanceName()
method, as shown in the following example:
Tealium.trackViewForInstanceName("INSTANCE", "SCREEN_NAME", {"KEY": "VALUE"});
Track Events
The trackEvent()
method tracks non-view events, as shown in the following example:
Tealium.trackEvent("EVENT_NAME", {"KEY": "VALUE"});
If multiple instances of Tealium are running, use the trackEventForInstanceName()
method, as shown in the following example:
Tealium.trackEventForInstanceName("INSTANCE", "EVENT_NAME", {"KEY": "VALUE"});
This page was last updated: September 24, 2025