Click here to Skip to main content
16,009,114 members
Please Sign up or sign in to vote.
3.33/5 (2 votes)
See more:
My website requires login in order to be able to download the report. After the people are registered and logged in I want to track all visitor activities so I can a get more details on visitor behaviour and gather more data for each individual user.

What are the different options for this? What would you recommend? Are there any already built in products for this. My goal is to store all data in database. So when someone is logged in and visits any page I would like to store page name, visit time and such in DB.

Main question is how to do this with least effort and not too many changes in existing application?
Posted
Comments
Sergey Alexandrovich Kryukov 12-Apr-13 17:00pm    
It's not clear what's the problem. If a user is logged in, you have all the information in each HTTP request...
—SA

use google analytics ,

it provides solution for watching user activity and all the info include location and user browser and usage time
 
Share this answer
 
I'm assuming you know how to get teh data you need (page name, visit time and otehr details) and that you only need to know how to gather the data in the easiest possible way.

One solution would be to include code in the main master page if your website uses them. This way you can put all the code in custom classes and call this code only from Page_Load in main master page.

Another solution would be creating custom http module that will be added to IIS that will intercept requests and store the data w/o affecting application at all.
 
Share this answer
 
 
Share this answer
 
Comments
Richard C Bishop 16-Apr-13 12:40pm    
Stop just posting links without any substance to your solutions. You are on the verge of abuse.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900