Skip to main content

Plugins

The Javascript Tracker is based around a plugin architecture which allows new functionality to be added to the tracker. There are a number of Snowplow maintained plugins, however you are also free to build your own or leverage community plugins too.

All pluginsโ€‹

The following table lists the Snowplow plugins (alphabetical order), what kinds of data are created using them, and their distribution for the JavaScript (sp.js file or minimal version) and Browser (npm etc. package) trackers. Read more about configuring plugins here or on the individual pages.

If you are using the JavaScript tracker with the full sp.js and your plugin is included, no further installation or initialization is required. You can use it straight away.

PluginCreatesTrackedsp.jssp.lite.jsPackage name
AdsEventsManualโœ…โŒbrowser-plugin-ad-tracking
Button clickEventsAutomaticโŒโŒbrowser-plugin-button-click-tracking
Client HintsEntitiesAutomaticโœ…โŒbrowser-plugin-client-hints
Consent (Enhanced)Events and entitiesManualโŒโŒbrowser-plugin-enhanced-consent
Consent (original)Events and entitiesManual and automaticโœ…โŒbrowser-plugin-consent
DebuggerOthern/aโŒโŒbrowser-plugin-debugger
Ecommerce (Snowplow)Events and entitiesManualโŒโŒbrowser-plugin-snowplow-ecommerce
Ecommerce (Enhanced)EventsManualโœ…โŒbrowser-plugin-enhanced-ecommerce
Ecommerce (original)EventsManualโœ…โŒbrowser-plugin-ecommerce
ErrorsEventsManual and automaticโœ…โŒbrowser-plugin-error-tracking
FormsEventsAutomaticโœ…โŒbrowser-plugin-form-tracking
GA cookiesEntitiesAutomaticโœ…โŒbrowser-plugin-ga-cookies
GeolocationEntitiesAutomaticโœ…โŒbrowser-plugin-geolocation
Kantar Focal MeterOthern/aโŒโŒbrowser-plugin-focalmeter@focalmeter_plugin
Link clickEventsAutomaticโœ…โŒbrowser-plugin-link-click-tracking
Media (Snowplow)Events and entitiesManualโŒโŒbrowser-plugin-media
Media (HTML)Events and entitiesAutomaticโŒโŒbrowser-plugin-media-tracking
Media (Vimeo)Events and entitiesAutomaticโŒโŒbrowser-plugin-vimeo-tracking
Media (Youtube)Events and entitiesAutomaticโŒโŒbrowser-plugin-youtube-tracking
Optimizely ClassicEntitiesAutomaticโœ…โŒbrowser-plugin-optimizely
Optimizely XEntitiesAutomaticโœ…โŒbrowser-plugin-optimizely-x
Performance navigation timingEntitiesAutomaticโŒโŒbrowser-plugin-performance-navigation-timing
Performance timing (original)EntitiesAutomaticโœ…โŒbrowser-plugin-performance-timing
Privacy SandboxEntitiesAutomaticโŒโŒbrowser-plugin-privacy-sandbox
Site*EventsManualโœ…โŒbrowser-plugin-site-tracking
TimezoneOtherAutomaticโŒโŒbrowser-plugin-timezone
Web vitalsEventsAutomaticโŒโŒbrowser-plugin-web-vitals
Browser features deprecatedEventsAutomaticโŒโŒbrowser-plugin-browser-features

*The site tracking plugin provides events for site search, social media interactions, and timing.

You can find the plugins code here and also search for them on npmjs.com.

Browser features plugin (deprecated)โ€‹

caution

Deprecated: This plugin is deprecated. The navigator.mimeTypes API which this tracker uses is now deprecated and modern browsers may no longer populate these values.

Install pluginโ€‹

Tracker DistributionIncluded
sp.jsโŒ
sp.lite.jsโŒ

Download:

Download from GitHub Releases (Recommended)Github Releases (plugins.umd.zip)
Available on jsDelivrjsDelivr (latest)
Available on unpkgunpkg (latest)

Note: The links to the CDNs above point to the current latest version. You should pin to a specific version when integrating this plugin on your website if you are using a third party CDN in production.

window.snowplow('addPlugin', 
"https://cdn.jsdelivr.net/npm/@snowplow/browser-plugin-browser-features@latest/dist/index.umd.min.js",
["snowplowBrowserFeatures", "BrowserFeaturesPlugin"]
);

Tracked dataโ€‹

This plugin will add MIME Type tracking. This allows the tracker to populate the f_* fields within the canonical event model.

Was this page helpful?