Posted By

visualadvance on 05/17/10


Tagged

google as3 Analytics


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

adrianparr
kwanhon
tspitzr
mitien


AS3: Google Analytics GAForFlash


 / Published in: ActionScript 3
 

URL: http://code.google.com/p/gaforflash/

Install the component (swc files) to: /Applications/Adobe Flash CS4/Common/Configuration/google

Open flash and drag the Google AnalyticsLibrary component into your library

  1. import com.google.analytics.AnalyticsTracker;
  2. import com.google.analytics.GATracker;
  3. private var tracker:AnalyticsTracker;
  4. tracker = new GATracker (this, "UA-16421501-1", "AS3", false );
  5.  
  6. tracker.trackPageview ( "/section/home");

Report this snippet  

You need to login to post a comment.