Sample code to use Webtrends/Google Analytics service programmatically

Feb 1, 2011 at 1:31 PM

Hi guys,

 I downloaded the source code for framework. I looked into Webtrends.Webanalytics.WPF project. I could see the behaviour created.

How to use these methods provided here in WPF application to track the usage. Any sample will be helpful.

Is behaviour creation is mandatory step? What If I need to create something similar to Analytics service which will report the usage data to Urchin Analytics software, I don't want to use this custom service with any WPF elements.

Any insight will be appreciated


Feb 1, 2011 at 8:36 PM

Please review the how-to pages in the help file that is distributed with the framework.  There is a topic on "How To Track an Event from Code"


Feb 8, 2011 at 5:02 PM

I'm trying the code in the sample  you referenced but I don't see anything in Fiddler.  If I am hosting MEF myself (not using CompositionInitializer) is that a problem?