Integrating Google Analytics with Silverlight – Part 2

In my previous post I told you about how to track user activity in your Silverlight application using Google Analytics. The real communication is done through a framework, called Microsoft Silverlight Analytics Framework. I have to admit that this framework lets you integrate your application with whichever analytics service in seconds. However, you need to add a few assemblies to your project – a fact which you may not be that happy with. Here is the list of these assemblies and their approximate size:

  • System.Windows.Interactivity.dll ~36KB
  • System.ComponentModel.Composition.dll ~242KB
  • Microsoft.WebAnalytics.dll ~ 40KB
  • Microsoft.WebAnalytics.Behaviors.dll ~34KB
  • Google.WebAnalytics.dll ~ 23KB

Continue Reading…

Integrating Google Analytics with Silverlight

Silverlight has brought greater interaction and experience to web users. However, when it comes to SEO and web statistics, it is probably not the best solution. Imagine you need to track down what visitors do in your web site. You need to integrate a statistics framework into your web site. You can create your own or integrate an existing one. What are the advatages of using an existing analytics framework?

  • you just sign in for an account and start using it – simple and fast
  • you have an access to a wide range of statistics – graphical and textual

There are many analytics vendors. One of them is Google Analytics – the one I will use to demonstrate its integration into Silverlight in my post. Continue Reading…