Snowplow provides two web trackers to use depending how you wish to add analytics to your webapp.
The Browser Tracker is available via
@snowplow/browser-tracker) and can be directly bundled into your application. It supports core tracking methods out of the box and can be extended through plugins (
@snowplow/browser-plugin-*). This tracker is often used when natively integrating tracking into React, Angular and Vue applications.
As the API is similar, we have combined the documentation for both trackers. We've marked the sections which are only relevant to one tracker or another.
📄️ Quick start guide
Quick start (plus modelling!)
🗃️ Tracker setup
🗃️ Tracking data out-of-the-box
🗃️ Custom event tracking
📄️ Configuring how events are sent
It's possible to add a fine-grained configuration for exactly how the web tracker should track and send events.
🗃️ Cookies and local storage
📄️ Cross-domain tracking
📄️ Opt-outs and anonymous tracking
The Snowplow web tracker allows you to track events anonymously. It enables anonymizing various user and session identifiers to support user privacy in case consent for tracking the identifiers is not given. This means that no user identifiers are sent to the Snowplow event collector. By default, anonymous tracking is not enabled.
📄️ Browser support
The Snowplow web tracker supports tracking in all modern browsers, including new browser features such as Privacy Sandbox and Client Hints.
📄️ Testing, debugging and troubleshooting
Testing your tracking implementation
🗃️ Migration guides
🗃️ Previous versions