Skip to main content

react-native-tracker.trackerconfiguration

Home > @snowplow/react-native-tracker > TrackerConfiguration

TrackerConfiguration interface

The configuration object for initialising the tracker

Signature:
export interface TrackerConfiguration 

Properties

PropertyTypeDescription
appId?string(Optional) The application ID
devicePlatform?Platform(Optional) The device platform the tracker runs on.
encodeBase64?boolean(Optional) Whether unstructured events and custom contexts should be base64 encoded.
namespacestringThe namespace of the tracker
plugins?BrowserPlugin[](Optional) Inject plugins which will be evaluated for each event