20

I need a hit counter for my various pages, but I can't use google analytics (my client isn't ready for cloud computing) and I can't use anything that requires access to the IIS logs (the server administrator owns them and doesn't want to give them up)

What resources are there for user usage tracking for what is essentially a hosted ASP.NET account?

I'm running an ASP.NET application on IIS 6. I've turned on health monitoring, but so far that is just creating log data with no analytics.

MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
  • 1
    You mean that you look for something simple ? and that google analytic is "cloud computing" == difficult ? – Aristos Jun 23 '10 at 08:03
  • 7
    @Arristos No, me and my client both enjoy excessive complexity. This is due to a firewall with no outgoing ports open. Can't see the clouds when you live in a bunker. – MatthewMartin Jun 23 '10 at 12:17
  • What sort of "hit counter" are you after? If its simply something like how many users could you not implement your own solution? – dkarzon Jun 29 '10 at 02:28

5 Answers5

23

I recently wrote up a list of (mostly) free GA alternatives.

http://regulargeek.com/2010/05/29/25-free-google-analytics-alternatives/

Many of these are cloud-based, but there are some that are completely hosted as well. I cannot recommend a particular solution, but the most popular self-hosted packages look like Grape Web Statistics (http://www.quate.net/grape), Open Web Analytics (http://www.openwebanalytics.com/) and Piwik (http://piwik.org/).

Robert Diana
  • 860
  • 7
  • 18
5

You could use something that logged raw data to a database and then analyse this information.

Various alternatives to Google Analytics reviewed here:

http://sixrevisions.com/usabilityaccessibility/10-promising-free-web-analytics-tools/

Andy

Andy Davies
  • 1,456
  • 9
  • 13
5

You could add an http module to the asp.net pipeline and write off values to a sql database if you're in a do-it-yourself mood.

James Westgate
  • 11,306
  • 8
  • 61
  • 68
2

How much detail do you need? If don't need all the extensive features of these listed, I'd just write something myself.

for example, at the bottom of your master page, put something like:

<webapp:MyPageCounter ID="counter" runat="server" />

and then define the MyPageCounter usercontrol to log the page requested, IP address, and headers. then you'd have all the information to generate some reports from.

If you DO need more features, well, I think some shared hosting allow PHP apps. ;)

Dave Thieben
  • 5,388
  • 2
  • 28
  • 38
1

You could run the PHP analytics tool Piwik under Phalanger, a tool which executes PHP on the CLR

mcintyre321
  • 12,996
  • 8
  • 66
  • 103