dmreiland / snowplow-javascript-tracker

Snowplow event tracker for client-side JavaScript. Add analytics to your websites and web apps. (See also: snowplow-nodejs-tracker)

Home Page:http://snowplowanalytics.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript web analytics for Snowplow

actively-maintained Release Build Status Saucelabs Test Status License

Overview

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.

Find out more

Technical Docs Setup Guide Contributing
i1 i2 i3
Technical Docs Setup Guide Contributing

Developers

Contributing quick start

Assuming git and Docker installed:

Clone repository

host$ git clone https://github.com/snowplow/snowplow-javascript-tracker.git

Building Tracker Core

host$ cd snowplow-javascript-tracker/core
host$ docker build -t core .
host$ docker run -v "$(pwd)":"/code" core npm run build

From the /core folder, build the core library using npm run build and run unit tests with npm run test.

Building Tracker

host$ cd snowplow-javascript-tracker
host$ docker build -t tracker .
host$ docker run -v "$(pwd)":"/code" tracker npm run build

Build the tracker using npm run build and run unit tests with npm run test:unit.

Testing

Selenium Test Status

Copyright and license

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.

About

Snowplow event tracker for client-side JavaScript. Add analytics to your websites and web apps. (See also: snowplow-nodejs-tracker)

http://snowplowanalytics.com

License:Other


Languages

Language:JavaScript 67.4%Language:TypeScript 28.3%Language:HTML 3.0%Language:Dockerfile 0.7%Language:Python 0.6%