I tried to track user activity in my site such as click or mouse over and different kind of events….
Is there any solution to track events even when users are working offline…
Can I store them in something like cookie and send them to the server when find active internet connection?
Is that possible?
Thank you
Depends on what browser types you’re targeting. Are these for HTML5 offline webapps?
If they support
ononlineandonofflineevents, you can implement this yourself fairly trivially.Some potentially workable code, using offline events, native JSON and HTML5 Local Storage:
Then you would just use
_ogaqas a wrapper for_gaq.ie: