stats.js

Javascript abstraction for pageview, event, and goal tracking – currently supports Google Analytics, MixPanel, and Genetify

Stars
7

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

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