Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-snowplow

Gatsby plugin to add Snowplow tracker to your site.

Install

npm install --save gatsby-plugin-snowplow-bc or

yarn add gatsby-plugin-snowplow-bc

How to use

// In your gatsby-config.js
plugins: [
	{
		resolve: "gatsby-plugin-snowplow-bc",
		options: {
			host: "//host.cdn.net", //host for the sp.js
			namespace: "sp",
			collector: "//host.cdn.net", //host for the collector
			config: {
				appId: "myAppId",
			}
		}
	}
]
© 2023 Gatsby, Inc.