Tracker Setup
The documentation listed here is for Version 2 of the JavaScript Tracker. Version 3 is now available and upgrading is recommended.
📄️ Loading tracker with the Snowplow tag
Once the tracker is loaded via the tag, you can move on to initializing the tracker.
📄️ Initialization options
This page refers to version 2.14.0+ of the Snowplow JavaScript Tracker.
📄️ Additional options
Toggling Anonymous Tracking (2.15.0+)
📄️ 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.