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 | Roadmap & Contributing |
---|---|---|
Technical Docs | Setup Guide | coming soon |
Assuming git, Vagrant and VirtualBox installed:
host$ git clone https://github.com/snowplow/snowplow-javascript-tracker.git
host$ cd snowplow-javascript-tracker
host$ vagrant up && vagrant ssh
guest$ cd /vagrant
guest$ sudo npm install
guest$ cd core
guest$ sudo npm install
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-14 Snowplow Analytics Ltd.
Licensed under the Simplified BSD license.