Packagecom.google.analytics
Interfacepublic interface AnalyticsTracker extends GoogleAnalyticsAPI, flash.events.IEventDispatcher
ImplementorsFlashTracker, FlexTracker, GATracker

This interface is implemented in all Google Analytics API class.



Public Properties
 PropertyDefined by
  account : String
Indicates the account value of the tracking.
AnalyticsTracker
  config : Configuration
Determinates the Configuration object of the tracker.
AnalyticsTracker
  debug : DebugConfiguration
Determinates the DebugConfiguration of the tracker.
AnalyticsTracker
  mode : String
Indicates the mode of the tracking "AS3" or "Bridge".
AnalyticsTracker
  visualDebug : Boolean
Indicates if the tracker use a visual debug.
AnalyticsTracker
Public Methods
 MethodDefined by
 Inherited
addIgnoredOrganic(newIgnoredOrganicKeyword:String):void
Sets the string as ignored term(s) for Keywords reports.
GoogleAnalyticsAPI
 Inherited
addIgnoredRef(newIgnoredReferrer:String):void
Excludes a source as a referring site.
GoogleAnalyticsAPI
 Inherited
addItem(item:String, sku:String, name:String, category:String, price:Number, quantity:int):void
Adds a transaction item to the parent transaction object.
GoogleAnalyticsAPI
 Inherited
addOrganic(newOrganicEngine:String, newOrganicKeyword:String):void
Adds a search engine to be included as a potential search engine traffic source.
GoogleAnalyticsAPI
 Inherited
addTrans(orderId:String, affiliation:String, total:Number, tax:Number, shipping:Number, city:String, state:String, country:String):Object
Creates a transaction object with the given values.
GoogleAnalyticsAPI
 Inherited
Clears all strings previously set for exclusion from the Keyword reports.
GoogleAnalyticsAPI
 Inherited
Clears all items previously set for exclusion from the Referring Sites report.
GoogleAnalyticsAPI
 Inherited
clearOrganic():void
Clears all search engines as organic sources.
GoogleAnalyticsAPI
 Inherited
cookiePathCopy(newPath:String):void
Changes the paths of all GATC cookies to the newly-specified path.
GoogleAnalyticsAPI
 Inherited
Creates an event tracking object with the specified name.
GoogleAnalyticsAPI
 Inherited
getAccount():String
Returns the Google Analytics tracking ID for this tracker object.
GoogleAnalyticsAPI
 Inherited
getClientInfo():Boolean
Gets the flag that indicates whether the browser tracking module is enabled.
GoogleAnalyticsAPI
 Inherited
getDetectFlash():Boolean
Gets the Flash detection flag.
GoogleAnalyticsAPI
 Inherited
getDetectTitle():Boolean
Gets the title detection flag.
GoogleAnalyticsAPI
 Inherited
getLocalGifPath():String
Gets the local path for the Urchin GIF file.
GoogleAnalyticsAPI
 Inherited
Returns the server operation mode.
GoogleAnalyticsAPI
 Inherited
getVersion():String
Returns the GATC version number.
GoogleAnalyticsAPI
  
isReady():Boolean
Indicates if the tracker is ready.
AnalyticsTracker
 Inherited
link(targetUrl:String, useHash:Boolean = false):void
This method works in conjunction with the setDomainName() and setAllowLinker() methods to enable cross-domain user tracking.
GoogleAnalyticsAPI
 Inherited
linkByPost(formObject:Object, useHash:Boolean = false):void
This method works in conjunction with the setDomainName() and setAllowLinker() methods to enable cross-domain user tracking.
GoogleAnalyticsAPI
 Inherited
resetSession():void
Reset the current session clearing the utmb and utmc cookies.
GoogleAnalyticsAPI
 Inherited
setAllowAnchor(enable:Boolean):void
Allows the # sign to be used as a query string delimiter in campaign tracking.
GoogleAnalyticsAPI
 Inherited
setAllowHash(enable:Boolean):void
Sets the allow domain hash flag.
GoogleAnalyticsAPI
 Inherited
setAllowLinker(enable:Boolean):void
Sets the campaign tracking flag.
GoogleAnalyticsAPI
 Inherited
setCampaignTrack(enable:Boolean):void
Sets the campaign tracking flag.
GoogleAnalyticsAPI
 Inherited
setCampContentKey(newCampContentKey:String):void
Sets the campaign ad content key.
GoogleAnalyticsAPI
 Inherited
setCampMediumKey(newCampMedKey:String):void
Sets the campaign medium key, which is used to retrieve the medium from your campaign URLs.
GoogleAnalyticsAPI
 Inherited
setCampNameKey(newCampNameKey:String):void
Sets the campaign name key.
GoogleAnalyticsAPI
 Inherited
setCampNOKey(newCampNOKey:String):void
Sets the campaign no-override key variable, which is used to retrieve the campaign no-override value from the URL.
GoogleAnalyticsAPI
 Inherited
setCampSourceKey(newCampSrcKey:String):void
Sets the campaign source key, which is used to retrieve the campaign source from the URL.
GoogleAnalyticsAPI
 Inherited
setCampTermKey(newCampTermKey:String):void
Sets the campaign term key, which is used to retrieve the campaign keywords from the URL.
GoogleAnalyticsAPI
 Inherited
setClientInfo(enable:Boolean):void
Sets the browser tracking module.
GoogleAnalyticsAPI
 Inherited
setCookiePath(newCookiePath:String):void
Sets the new cookie path for your site.
GoogleAnalyticsAPI
 Inherited
setCookieTimeout(newDefaultTimeout:int):void
Sets the campaign tracking cookie expiration time in seconds.
GoogleAnalyticsAPI
 Inherited
setDetectFlash(enable:Boolean):void
Sets the Flash detection flag.
GoogleAnalyticsAPI
 Inherited
setDetectTitle(enable:Boolean):void
Sets the title detection flag.
GoogleAnalyticsAPI
 Inherited
setDomainName(newDomainName:String):void
Sets the domain name for cookies.
GoogleAnalyticsAPI
 Inherited
setLocalGifPath(newLocalGifPath:String):void
Sets the local path for the Urchin GIF file.
GoogleAnalyticsAPI
 Inherited
Invoke this method to send your tracking data both to a local server and to the Google Analytics backend servers.
GoogleAnalyticsAPI
 Inherited
Invoke this method to send your tracking data to a local server only.
GoogleAnalyticsAPI
 Inherited
Default installations of Google Analytics send tracking data to the Google Analytics server.
GoogleAnalyticsAPI
 Inherited
setSampleRate(newRate:Number):void
Sets the new sample rate.
GoogleAnalyticsAPI
 Inherited
setSessionTimeout(newTimeout:int):void
Sets the new session timeout in seconds.
GoogleAnalyticsAPI
 Inherited
setVar(newVal:String):void
Sets a user-defined value.
GoogleAnalyticsAPI
 Inherited
trackEvent(category:String, action:String, label:String = null, value:Number):Boolean
Constructs and sends the event tracking call to GATC.
GoogleAnalyticsAPI
 Inherited
trackPageview(pageURL:String = ""):void
Main logic for GATC (Google Analytic Tracker Code).
GoogleAnalyticsAPI
 Inherited
trackTrans():void
Sends both the transaction and item data to the Google Analytics server.
GoogleAnalyticsAPI
Property detail
accountproperty
account:String  [read-write]

Indicates the account value of the tracking.

Implementation
    public function get account():String
    public function set account(value:String):void
configproperty 
config:Configuration  [read-write]

Determinates the Configuration object of the tracker.

Implementation
    public function get config():Configuration
    public function set config(value:Configuration):void
debugproperty 
debug:DebugConfiguration  [read-write]

Determinates the DebugConfiguration of the tracker.

Implementation
    public function get debug():DebugConfiguration
    public function set debug(value:DebugConfiguration):void
modeproperty 
mode:String  [read-write]

Indicates the mode of the tracking "AS3" or "Bridge".

Implementation
    public function get mode():String
    public function set mode(value:String):void

See also

visualDebugproperty 
visualDebug:Boolean  [read-write]

Indicates if the tracker use a visual debug.

Implementation
    public function get visualDebug():Boolean
    public function set visualDebug(value:Boolean):void
Method detail
isReady()method
public function isReady():Boolean

Indicates if the tracker is ready.

Returns
Boolean