Ad via The Deck

Banner for eyelogic

  • eyelogic
  • Users offline eyelogic
  • Hamburg
  • Germany
  •  
  • Rank: 219

eyelogic is currently Browsing Computerlove

Full Name:
Born:
September 20, 1979
Job:
Flash Developer
Website
eyelogic
Status:
Freelance
Biography:

I´m a Flash developer from Hamburg, Germany, currently searching for a job in London.
I have focused my education on the Flash platform, especially in programming ActionScript 3.0 websites and applications.
visist my portfolio website at www.eyelogic.de and leave me a note! I am always open minded for new contacts.

Interests:

Flash, Music, Nature, Digital Arts, Sun, Water, Jogging, Reading

Member since:
May 14, 2008
Last login on:
July 17, 2008

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 63 days ago

You must login or register to post a comment.


Send this page to a friend!