Tracker Setup
📄️ Installing the tracker from npm
Getting started with sending events using the Browser Tracker will be familiar for anyone who is used to installing npm packages into their web apps and is designed to work with frameworks such as React, Angular and Vue.
📄️ Initialization options
Tracker initialization is started by calling the "newTracker" function and takes three arguments:
📄️ Additional options
Toggling Anonymous Tracking
📄️ Managing multiple trackers
You can 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.