+ Reply to Thread
Results 1 to 3 of 3

Thread: Creating Silverlight analytics tracking

  1. #1
    Join Date
    Sep 2009
    Location
    UK - London
    Posts
    25

    Default Creating Silverlight analytics tracking

    This thread is for all Q&A related to the tutorial on Silverlight Tips website for adding analytics code to Silverlight applications.

    Tutorial:

    The tutorial can be found here: http://www.silverlighttips.com/?tag=/event+tracking

    Download:

    Download this project from CodePlex here.

    Project Summary:

    1. Creating a tracking class
    2. Creating a Java Script function for calling "pageTracker._trackEvent"
    3. Calling Tracking class from your code and passing tracking values

  2. #2
    Join Date
    Sep 2009
    Location
    UK - London
    Posts
    25

    Default

    Common issues/mistakes with implementing tracking

    I recently notice that after implementing the code for tracking I wasn't receiving some of the data in my report. This specifically was happening when I passed parameters from my default.aspx page and I noticed those specific parameters are not showing in the report.

    The reason this happened was because I was passing four string to my pageTracker._trackEvent();function and this was wrong.

    See Event Tracking Guide documents on Google.

    Basically, the last variable you pass to pageTracker._trackEvent() is an integer and if you pass a string i.e. "" or " ", then the function doesn't work.

  3. #3
    Join Date
    Sep 2009
    Location
    UK - London
    Posts
    25

    Default Tracking in Silverlight (Google Analytics) - Part II

    Update:

    A new version of this is now available at Silverlight Tips (Tracking in Silverlight (Google Analytics) - Part II):
    http://silverlighttips.com/post/2010...t-Part-II.aspx

    This version covers how to add the tracking to your web page to find out information about user platforms and if user has Silverlight installed or not.

    It then explains how to capture details about user activities on your none-Silverlight version of the site, i.e. if user clicked on "install Silverlight" link.

    You can also download the code from the project from CodePlex, link are provided in the tutorial.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Follow Your Community

About Silverlight Forums

Silverlight Forums Stats

Silverlight Forums is an established Silverlight community for people interested in design and development using Silverlight.

11035 news articles
29 tutorials and 2 video tutorials
2060 forum posts in 1298 threads

Silverlight User Groups (SLUGs)

Why not join your local SLUG?

London, Atlanta, Phoenix, Toronto, Portland, Wellington, Los Angeles, Seattle, South Florida, Tampa Bay, Jacksonville, Belgium

Silverlight Usergroups (SLUGs)
Copyright © 2010 Silverlight ForumsSilverlight TutorialsSilverlight News