Class fever.utils.GAnalytic

Description

Track application / site internal navigation throw Google Analytic system.

More informations on http://www.google.com/analytics/

Link passed to tracker is check before processing :
At the end, link must start with a / char with no space chars at the end.

Analytics tracking code must be placed in your HTML code above any of these calls.
Example

   //<![CDATA[
     <script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
     
	   _uacct = "YOUR_GOOGLE_TRACK_ID";
	   urchinTracker();	
	 //]]>
 

Tracking is enabled if fever.core.CoreApplication.isOnline() is true.

Check if ExternalInterface.available.
if true, use ExternalInterface.call, otherwise use .

See Also

Field Index

DOWNLOAD_TRACK, OUTGOING_TRACK

Method Index

track(), trackDownload(), trackOutBound()

Field Detail

OUTGOING_TRACK

static public OUTGOING_TRACK:String
Default logical directory structure for outbound links.

DOWNLOAD_TRACK

static public DOWNLOAD_TRACK:String
Default logical directory structure for downloads links.

Method Detail

track

static public function track(link:String):Void

Track passed-in link.

trackOutBound

static public function trackOutBound(link:String):Void

Track passed-in link as an outbound link.

Logical link structure can me modify with OUTGOING_TRACK property.

trackDownload

static public function trackDownload(link:String):Void

Track passed-in link as a download link.

Logical link structure can me modify with DOWNLOAD_TRACK property.