This project is read-only.

Google Analytics is the enterprise-class web analytics solution that gives you rich insights into your website traffic and marketing effectiveness. Powerful, flexible and easy-to-use features now let you see and analyze your traffic data in an entirely new way. With Google Analytics, you're more prepared to write better-targeted ads, strengthen your marketing initiatives and create higher converting websites. The best part: this sophisticated, full-featured web analytics package is free.

Google Analytics Home Page

Google Analytics Developer Documentation

Google Analytics For Silverlight is integrated into the Silverlight Analytics Framework and makes it easy for developers and designers to quickly get insight into how users interact with their content. This solution includes:
  • Integration into the Silverlight Analytics Framework.
  • Drag and drop tracking into Microsoft Blend.

The following tracking features are supported:

Event Tracking docs
  • The Event Tracking Category field corresponds to the Category field of the TrackAction behavior.
  • The Event Tracking Action field corresponds to the EventName of the Trigger associated with the TrackAction behavior.
  • The Event Tracking Label field corresponds to the name of the TrackAction parent object.
  • The Event Tracking Value field corresponds to the value field of the TrackAction behavior.

Pageview Tracking through Silverlight Frames
  • URL sent to Google Analytics maps to the page name used in the Frame.

Custom Variables docs
  • Page scope custom variables will correspond to the Custom Properties collection of the TrackAction associated with a specific object on the page (like a button).
  • Session scope custom variables will correspond to the Custom Variables collection of the Google Analytics object connected to your Layout Root.
  • Visitor scope custom variables will correspond to the Custom Properties collection of the ABTesting object being used in the application.

Last edited Mar 15, 2010 at 8:58 PM by Nickski15, version 16


mules Oct 11, 2011 at 6:30 PM 
Is there anyway to directly set the name of the Page reported to GA through the MSAF interface?
I've tried to set the NavigationState of Microsoft.WebAnalytics.AnalyticsEvent but that just seems to be appended to the name of the aspx page
which "is" my silverlight application. Must be some way to do this???

jpchow Mar 19, 2011 at 12:21 AM 
Can I use Google Analytics on a standalone WPF executable with this framework?

mscherotter Sep 30, 2010 at 5:38 AM 
No - that is a limitation of Google Analytics.

deecodeplex Sep 29, 2010 at 4:43 PM 
I would like to send about 20 custom variables to Google Analytics every time a page is accessed. I see that GA restricts to only 5 variables. Is there a work around ?

PokerDIY Sep 24, 2010 at 9:23 AM 
It would be really nice to see some Google Analytics demos in code - the Console one is very simple and makes sense, but the Google one does not have a TrackAction class - does the Microsoft TrackAction EventTrigger write to Google too? How do you log an action in the Google service, it is not very clear. Thanks for framework, it´s great but there´s so little info on the web about it!

mscherotter Mar 17, 2010 at 6:49 AM 
You can watch the session here where it is demonstrated:

meteormatt Mar 17, 2010 at 5:14 AM 
Is there any Demo to see?