Discover the social platform for Creative Talents, or Register

My Profile

eyelogic
Job

Flash Developer

Competence/s

Flash, Flex, Audio

View full profile

My Latest Galleries

My Connections

kuat
  • kuat
  • 2 posts/2 galleries
  • Offline

Blog Item

Back to Blog

Google Analytics for Flash websites

Corban Baxter writes on his blog how easy it is to enable Google Analytics page tracking in Flash websites with just a few lines. Just write a small method submitting your current section (trackPage(/home/page1). In this method just referencing the JS function pageTracker._trackPageview(), referencing the current path of your website. Very easy done. Have a look at Corban´s blog

/// GOOGLE ANALYTICS SIMPLE TRACKING
/// Script by: corban baxter

import flash.external.ExternalInterface;

function gaTracking(page) {
ExternalInterface.call("pageTracker._trackPageview", page);
}

//end

call:

gaTracking("/flash/home"); //sends event to google's analytics system


Categories:

graphic design, technology/development

Tags:

Flash Google Analytics

Comments (1)

Good one... Thnx for sharing...
and the link

skemone Posted by: skemone 47 days ago

You must login or register to post a comment.


Send this page to a friend!