Skip to main content

Snowplow Plugin for

The Snowplow JavaScript Tracker can now be deployed directly into your web and node applications using the analytics and @analytics/snowplow NPM packages.


Snowplow recommends using the official [@snowplow/browser-tracker](/docs/collecting-data/collecting-from-own-applications/javascript-trackers/browser-tracker/) or [@snowplow/node-tracker](/docs/collecting-data/collecting-from-own-applications/javascript-trackers/node-js-tracker/) instead of this package as you will receive updates faster and install a smaller dependency into your application, unless you wish to send your events to multiple providers which is where the @analytics packages are particularly useful.

Quick Startโ€‹

npm install analytics
npm install @analytics/snowplow

Initialise the plugin:

import Analytics from 'analytics'
import snowplowPlugin from '@analytics/snowplow'

const analytics = Analytics({
app: 'awesome-app',
plugins: [
// Minimal recommended configuration
name: 'snowplow',
collectorUrl: '',
trackerSettings: {
appId: 'myApp',
contexts: {
webPage: true

Then track a page view event:

Full documentationโ€‹

Snowplow Plugin documentation (

Analytics package documentation (