Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vincent DeCapite 64 posts 83 karma points
    Jan 04, 2011 @ 17:05
    Vincent DeCapite
    0

    Google Analytics XSLT tracking

    Hi There,

    I am hoping to get some help with an XSLT/Google Analytics problem I am having. I have a SWF object that I am placing in an XSLT file by embedding it using this code right here:

    var flashvars = {dataFile: '/HomepageSlides.aspx'};
      var params = { wmode:'transparent'};
      var attributes = {};
      
      swfobject.embedSWF('/elements/flash/Homepage.swf', 'flash', '1068', '300', '9.0.0', '', flashvars, params, attributes);

     

    Problem I am running into is after I installed the Google analytics part in Umbraco I am unable to get this to get tracked in GA. Everything else is tracked on the page and I can get results from it fine except this swf object.. Any help would be greatly appreciated.

     Thank you!

  • Magnus Eriksson 122 posts 362 karma points
    Jan 04, 2011 @ 17:50
    Magnus Eriksson
    0

    As far as I know GA doesn't track Flash Objects unless you do some manual programming? Do you have experience with tracking Flash stuff in GA when not used on Umbraco sites?

    Regards,
    Magnus

  • Sean Mooney 131 posts 158 karma points c-trib
    Jan 04, 2011 @ 18:05
    Sean Mooney
    0

    Vince, If you want to track a swf file (or anything other than html) in analytics you will need to setup some javascript and use the tracking api that is part of google analytics 

    pageTracker._trackPageview('url_to_the_file_you_want_to_track');
Please Sign in or register to post replies

Write your reply to:

Draft