Unique visitor counting in ASP.NET MVC
Posted
by
Max
on Stack Overflow
See other posts from Stack Overflow
or by Max
Published on 2012-09-24T15:19:12Z
Indexed on
2012/09/24
15:37 UTC
Read the original article
Hit count: 173
I'd like to do visitor tracking similar to how stackoverflow does it..
By reading through numerous posts, I've figured out some details already:
- Count only 1 IP hit per 15 minutes (if anonymous)
- Count only 1 unique user-Login (per day?)
Now that leaves the question of the real implementation..
Should I log the two factors live into a table (and increase count)
| IP | timestamp | pageurl |
Or do the counting AFTERWARDS (e.g. using IIS log files - which don't include the user, right?
I know there're some similar posts outside, but NONE really has a great solution in my opinion yet..
© Stack Overflow or respective owner