My Profile
My Latest Galleries
![]() |
|
![]() |
|
My Connections
![]() |
|
|
Blog Item
May 17th, 2008
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
Comments (1)
Good one... Thnx for sharing...
and the link
Posted by: skemone 47 days ago




Add a Comment | By Blamoh Offline