An open API service indexing awesome lists of open source software.

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

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)