2 Replies Latest reply: Aug 7, 2009 9:00 PM by webqaflash RSS

    Using google analytics to track action on my flash site

    BearHNC Community Member
      I got this code to use google analytics to track activity on my flash site but I am not exactly sure on how to use it. Do I place the code on all the buttons I would like to track or is there a way to embed this code into to HTML document that my flash site is embedded in. I figured because of the onRelease action that it needs to be on a button, but I was hoping that there my be a better way. (My flash site has a lot of buttons.)
      // legacy tracking code
      1. indexLegacy_mc.onRelease = function():Void
      2. {
      3.     getURL("javascript:urchinTracker('/home/indexLegacy');");
      4. };
        Thanks in advance!