[ ![Build Status] travis-image ] travis [ ![Selenium Test Status] saucelabs-button-image]saucelabs [ ![Code Climate] codeclimate-image ] codeclimate [ ![Built with Grunt] grunt-image ] grunt [ ![License] license-image ] bsd
Add analytics to your websites and web apps with the Snowplow 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 |
---|---|---|
[ ![i1] techdocs-image ] tech-docs | [ ![i2] setup-image ] setup | ![i3] roadmap-image |
[Technical Docs] tech-docs | [Setup Guide] setup | coming soon |
Assuming git, [Vagrant] vagrant-install and [VirtualBox] virtualbox-install 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
] piwikjs, the JavaScript tracker for the open-source Piwik piwik project, and is distributed under the same license ([Simplified BSD] bsd).
Significant portions of the Snowplow JavaScript Tracker copyright 2010 Anthon Pang. Remainder copyright 2012-14 Snowplow Analytics Ltd.
Licensed under the [Simplified BSD] bsd license.