Skip to main content

react-native-tracker.newtracker

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

newTracker() function

Creates a new tracker instance with the given configuration

Signature:
export declare function newTracker(configuration: Configuration): Promise<ReactNativeTracker>;

Parameters

ParameterTypeDescription
configurationConfigurationConfiguration for the tracker
Returns:

Promise<ReactNativeTracker>

Tracker instance