views:

499

answers:

1

How do I go about gathering site statistics in MVC? (users online.. etc?)

+1  A: 

Typically, you can use the same techniques as for normal ASP.NET web apps: user's counter increment at OnSessionStart in global.asax or similar or you can write your own event handler to be put the request processing queque.

For offline statistics can use google analytics with their "sonda code" put into master page.

twk

twk