Plugins
The JavaScript Tracker is based around a plugin architecture which allows new functionality to be added to the tracker. These plugins may already be bundled with the tracker, loaded from external locations at runtime or included in your codebase and passed into the tracker.
There are a number of Snowplow maintained plugins, however you are also free to build your own or leverage community plugins too. This section details the Snowplow maintained plugins, whether they are bundled into any versions of the tracker, and also describes how you can build your own plugin.
The UMD files (which work in the browser) can be downloaded from GitHub releases or they are available via third party CDNs.
For other combinations of plugins not covered by sp.js
or sp.lite.js
, try bundling a custom selection and self hosting the tracker.
Plugin | sp.js | sp.lite.js |
---|---|---|
Ad Tracking | โ | โ |
Browser Features | โ | โ |
Client Hints | โ | โ |
Consent | โ | โ |
Debugger | โ | โ |
Ecommerce | โ | โ |
Enhanced Consent | โ | โ |
Enhanced Ecommerce | โ | โ |
Error Tracking | โ | โ |
Form Tracking | โ | โ |
GA Cookies | โ | โ |
Geolocation | โ | โ |
Link Click Tracking | โ | โ |
Media Tracking | โ | โ |
Optimizely | โ | โ |
Optimizely X | โ | โ |
Performance Timing | โ | โ |
Site Tracking | โ | โ |
Snowplow Ecommerce | โ | โ |
Timezone | โ | โ |
YouTube Tracking | โ | โ |