Вопрос

i want to know how much time a visitor stays on my website..??? can it be done with any online services ??..Any help would be appreciated..

Это было полезно?

Решение

Use Google analytics http://www.google.com.au/analytics/

A session can only change every time you call set or reset it. But if you wanted to, you could use jQuery ajax, to run a script every X seconds or mins. Then in the file that you are ajax'ing in. Change your session data.

You will find analytics make a new request every time the user does something. Like moves the mouse, clicks on something, etc. So you would have to set up some js to do that as well.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top