Google Analytics for Microsoft Silverlight is integrated into the Microsoft Silverlight Analytics Framework. With this framework you can easily track user activity within your Microsoft Silverlight content.
The Google Analytics for Microsoft Silverlight component bypasses the technical hurdles to tracking Silverlight content. With this component, tracking content is as simple as dragging, dropping, and defining category names for the reports. All the technical integration is done under the hood.
This integration support 3 main tracking capabilities of Google Anaytics:
Event Tracking allows developers to track user interaction with content. See core Event Tracking Guide.
Within the Silverlight framework:
Categoryfield corresponds to the Category field of the
Actionfield corresponds to the
EventNameof the Trigger associated with the
Labelfield corresponds to the name of the
Valuefield corresponds to the value field of the
method. This allows you to overwrite the values displayed in the Top Content and Content Drilldown reports.
Within the Silverlight framework, pageview data is integrated within Silverlight Frames. When a frame loads, the name of the frame is sent as the URL and is logged as a "page" in Google Analytics.
Google Analytics Custom Variables can be used to add additional information to Events and Pageviews. See Custom Variable Documentation.
When using Custom Variables in the Silverlight framework:
- Custom Properties added to framework specific behaviors will be mapped to the
- Custom Properties added to the Google Analytics object (added to the Layout Root) will be mapped to the
- Custom Properties added to the
ABTestingobject provided by the framework will be mapped to the