Add analytics to your websites and web apps with the Snowplow event tracker for JavaScript.
With this tracker you can collect user event data (page views, e-commerce transactions etc) from the client-side tier of your websites and web apps.
Technical Docs | Setup Guide | Contributing |
---|---|---|
Technical Docs | Setup Guide | Contributing |
Assuming git and Docker installed:
host$ git clone https://github.com/snowplow/snowplow-javascript-tracker.git
host$ cd snowplow-javascript-tracker
host$ cd core
host$ docker build -t core .
host$ docker run core grunt
host$ cd ..
host$ docker build -t tracker .
host$ docker run tracker grunt
Set up an ./aws.json
file using the example ./aws.sample.json
. If you just want to concat +
minify without uploading then you don't need to fill out the aws.json
file with valid credentials.
Build the package (default task concatenates and minifies) using grunt
.
The Snowplow JavaScript Tracker is based on Anthon Pang's piwik.js
, the JavaScript
tracker for the open-source Piwik project, and is distributed under the same license
(Simplified BSD).
Significant portions of the Snowplow JavaScript Tracker copyright 2010 Anthon Pang. Remainder copyright 2012-2020 Snowplow Analytics Ltd.
Licensed under the Simplified BSD license.