Tracking

Introduction
com.gaiaframework.utils.Tracking

Gaia has a simple Tracking class that allows you to call a Javascript function with any number of arguments. You can queue up any number of tracking events to be fired, and it separates each of these event calls by 500ms, which is a standard delay to ensure that no events are missed by Internet Explorer. It uses ExternalInterface to call the Javascript method.

Tracking is part of the utils package which is not compiled with Gaia, so you need to import it to use it.

import com.gaiaframework.utils.Tracking; Tracking.track(methodName:String, [parameter1:String], ...);

The first argument to track is the name of the Javascript method on the html page. Any number of arguments can be passed to the track method.

More Information
For more information, read the following article on Adobe.com.