Web trackers (v3)
Snowplow provides two web trackers to use depending how you wish to add analytics to your webapp.
The JavaScript Tracker is loaded via tag: add code snippets to your website or Tag Manager solution. Some plugins are included in the standard tag, but we also provide customization options.
The Browser Tracker is available via npm
(@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
5 items
ποΈ Tracking data out-of-the-box
23 items
ποΈ Custom event tracking
1 items
ποΈ 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.
ποΈ Plugins
2 items
ποΈ Cookies and local storage
2 items
ποΈ 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