November Happy Hour will be moved to Thursday December 5th.

How to creating a page hit counter using LogService...

Vote:
 
Hi, I've implemented LogService, and I can see the page hit counter from Statistics tab in edit mode. Then I try to create a page hit counter, I found there are some class/method in EPiServer.Log.Analyzer, such as EPiServer.Log.Analyzer.TimeSpanAnalyzer, EPiServer.Log.Analyzer.TimeSpanAnalyzerView... Some posts said it is "A sample analyzer to handle historical data based on page hits", but I use and use a method called GetHits, and can't get anything. Do you have some experience? please give me some instruction, thanks.
#13376
Mar 03, 2008 14:32
Vote:
 
currently i'm using this method, TimeSpanAnalyzerView.GetHits(string root, System.DateTime start, System.DateTime end) can someone tell me what's the "string root" means, how's the root's definition and how to set it up? thanks.
#19089
Mar 04, 2008 8:48
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.