Snowplow
Entry point to instance a new Snowplow tracker.
Functions
Create a new tracker instance which will be used inside the app to track events. The app can run multiple tracker instances which will be identified by string namespaces
. Each tracker can be configured by various configuration objects implementing the Configuration interface. For the default configuration of the tracker see TrackerConfiguration.TrackerConfiguration
Create a new tracker instance which will be used inside the app to track events. The app can run multiple tracker instances which will be identified by string namespaces
. The tracker will be configured with default setting and only the collector endpoint URL need to be passed for the configuration. For the default configuration of the tracker see TrackerConfiguration
Using the namespace identifier is possible to get the trackerController if already instanced.
Reconfigure, create or delete the trackers based on the configuration downloaded remotely. The trackers configuration is automatically download from the endpoint indicated in the RemoteConfiguration
previously used to setup the trackers.
Remove all the trackers. The removed tracker is always stopped.
A tracker can be removed from the active trackers of the app. Once it has been removed it can't be added again or set as default. The unique way to resume a removed tracker is creating a new tracker with same namespace and same configurations. The removed tracker is always stopped.
Set the passed tracker as default tracker if it's registered as an active tracker in the app. If the passed instance is of a tracker which is already removed (see .removeTracker) then it can't become the new default tracker and the operation fails.
Setup a single or a set of tracker instances which will be used inside the app to track events. The app can run multiple tracker instances which will be identified by string namespaces
. The trackers configuration is automatically download from the endpoint indicated in the RemoteConfiguration
passed as argument. For more details see RemoteConfiguration
.
Add a JavaScript interface to the Web view that listens for events tracked using the Snowplow library for Web views.