Tracker Setup
📄️ Loading tracker with the Snowplow tag
There are two distributions of the JavaScript Tracker:
📄️ Initialization options
Tracker initialization is started by calling the "newTracker" function and takes three arguments:
📄️ Additional options
Toggling Anonymous Tracking
📄️ Managing multiple trackers
You have more than one tracker instance running on the same page at once. This may be useful if you want to log events to different collectors. By default, any Snowplow method you call will be executed by every tracker you have created so far. You can override this behavior and specify which trackers will execute a Snowplow method. To do this, change the method name by adding a colon followed by a list of tracker names separated by semicolons.