https://github.com/jamiew/stats.js
Javascript abstraction for pageview, event, and goal tracking – currently supports Google Analytics, MixPanel, and Genetify
https://github.com/jamiew/stats.js
Last synced: about 1 year ago
JSON representation
Javascript abstraction for pageview, event, and goal tracking – currently supports Google Analytics, MixPanel, and Genetify
- Host: GitHub
- URL: https://github.com/jamiew/stats.js
- Owner: jamiew
- Created: 2012-03-06T22:44:58.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-10-15T06:36:25.000Z (over 13 years ago)
- Last Synced: 2025-04-24T23:49:42.302Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://github.com/jamiew/stats.js
- Size: 93.8 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
stats.js
========
Abstraction layer for doing js pageview, event, and goal tracking across
multiple stats tracking tools: Google Analytics, Mixpanel, Genetify et al
This is crayz simple but has been really useful for me. Patches/pull requests/issues welcome
Usage
-----
```javascript
track_pageview('/jamiew')
track_event(['Videos', 'Play']);
track_goal('Purchase', 100)
```
Supported services
------------------
* Google Analytics
* Genetify (page testing)
* Mixpanel
License
-------
This source code made freely available under an MIT License
Copyfree © 2012 Jamie Wilkinson
Authors
-------
* [Jamie Dubs](https://github.com/jamiew)