问题
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.
回答1:
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/).
回答2:
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
回答3:
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.
回答4:
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. ;)
回答5:
You could run the PHP analytics tool Piwik under Phalanger, a tool which executes PHP on the CLR
来源:https://stackoverflow.com/questions/1164936/alternative-to-google-analytics-that-runs-on-asp-net-and-doesnt-use-iis-logs