timer - how to get length of time of visitor in asp.net -
i using asp.net 2.0. have 5 web pages in project. want calculate length of time visitor view page.
outline tracking system:
- server-side: when visitor requests page, generate unique id , include in page. save unique id user, page, , other information wish track.
- client-side using javascript: when window.onunload fires, send ajax call server user has finished page identified unique id. looking id saved in step 1, update length of time visited.
alternatively, use google analytics, stellar job of tracking visitors.
Comments
Post a Comment