Skip to content

Repository files navigation

Browser trackinkg library for Rockstat analytics and marketing automation platform

It automaticaly tracks most of users actions and interratons: pages, clicks, forms, scroll, activity and send data to server usign xhr/beacon/websocket/image transports. Calcultating sessions based on local storage

About Rockstat

Is an open source platform for a web and product analytics. It consists of a set of components: JavaScript tracking client for web applications; server-side data collector; services for geo-coding and detecting client device type; a new server deployment system. Read more

Rockstat sheme

Useful links

Reliability Problem

The above methods all suffer from reliability problems, stemming from one core issue: There is not an ideal time in a page’s lifecycle to make the JavaScript call to send out the beacon.

  • unload and beforeunload are unreliable, and outright ignored by several major browsers.
  • pagehide and visibilitychange have issues on mobile platforms.

https://github.com/WICG/pending-beacon

Thanks

  • BrowserStack: great tool for manual and automated testing in browser

License

LICENSE

About

It automaticaly tracks most of users actions and interratons: pages, clicks, forms, scroll, activity and send data to server usign xhr/beacon/websocket/image transports. Calcultating sessions based on local storage

Resources

Stars

16 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages