Possible Duplicate:
How to measure a time spent on a page?
I am trying to get the time spent on some of the pages in my site. One way I am thinking to implement is polling the server with ajax request every 10 sec , but this would mean a lot of request for the server.
Is there any better way to implement the feature ?
Thanks.
Could you not just use a single AJAX request to inform the server of the page unload event?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With