I would like to track "Total" time a visitor spends on our site. This is a common metric in many Web Statistics packages, and I want to do my own for validation reasons.
I can seem to find anything online that's worth a anything and i'm a bit perplexed on how to accomplish my task.
Getting when the user visited is cake, problem is capturing some event on when they leave. Session_End is no good as it times out not when the user leaves, but when the server times out their session. At least i think so??
Any tips?
Start Free Trial