| Package | com.google.analytics |
| Interface | public interface AnalyticsTracker extends GoogleAnalyticsAPI, flash.events.IEventDispatcher |
| Implementors | FlashTracker, FlexTracker, GATracker |
| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
addIgnoredOrganic(newIgnoredOrganicKeyword:String):void
Sets the string as ignored term(s) for Keywords reports.
| GoogleAnalyticsAPI | |
![]() |
addIgnoredRef(newIgnoredReferrer:String):void
Excludes a source as a referring site.
| GoogleAnalyticsAPI | |
![]() |
addItem(item:String, sku:String, name:String, category:String, price:Number, quantity:int):void
Adds a transaction item to the parent transaction object.
| GoogleAnalyticsAPI | |
![]() |
addOrganic(newOrganicEngine:String, newOrganicKeyword:String):void
Adds a search engine to be included as a potential search engine traffic source.
| GoogleAnalyticsAPI | |
![]() |
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 | |
![]() |
clearIgnoredOrganic():void
Clears all strings previously set for exclusion from the Keyword reports.
| GoogleAnalyticsAPI | |
![]() |
clearIgnoredRef():void
Clears all items previously set for exclusion from the Referring Sites report.
| GoogleAnalyticsAPI | |
![]() |
clearOrganic():void
Clears all search engines as organic sources.
| GoogleAnalyticsAPI | |
![]() |
cookiePathCopy(newPath:String):void
Changes the paths of all GATC cookies to the newly-specified path.
| GoogleAnalyticsAPI | |
![]() |
createEventTracker(objName:String):EventTracker
Creates an event tracking object with the specified name.
| GoogleAnalyticsAPI | |
![]() |
getAccount():String
Returns the Google Analytics tracking ID for this tracker object.
| GoogleAnalyticsAPI | |
![]() |
getClientInfo():Boolean
Gets the flag that indicates whether the browser tracking module is enabled.
| GoogleAnalyticsAPI | |
![]() |
getDetectFlash():Boolean
Gets the Flash detection flag.
| GoogleAnalyticsAPI | |
![]() |
getDetectTitle():Boolean
Gets the title detection flag.
| GoogleAnalyticsAPI | |
![]() |
getLocalGifPath():String
Gets the local path for the Urchin GIF file.
| GoogleAnalyticsAPI | |
![]() |
Returns the server operation mode.
| GoogleAnalyticsAPI | |
![]() |
getVersion():String
Returns the GATC version number.
| GoogleAnalyticsAPI | |
|
isReady():Boolean
Indicates if the tracker is ready.
| AnalyticsTracker | ||
![]() |
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 | |
![]() |
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 | |
![]() |
resetSession():void
Reset the current session clearing the utmb and utmc cookies.
| GoogleAnalyticsAPI | |
![]() |
setAllowAnchor(enable:Boolean):void
Allows the # sign to be used as a query string delimiter in campaign tracking.
| GoogleAnalyticsAPI | |
![]() |
setAllowHash(enable:Boolean):void
Sets the allow domain hash flag.
| GoogleAnalyticsAPI | |
![]() |
setAllowLinker(enable:Boolean):void
Sets the campaign tracking flag.
| GoogleAnalyticsAPI | |
![]() |
setCampaignTrack(enable:Boolean):void
Sets the campaign tracking flag.
| GoogleAnalyticsAPI | |
![]() |
setCampContentKey(newCampContentKey:String):void
Sets the campaign ad content key.
| GoogleAnalyticsAPI | |
![]() |
setCampMediumKey(newCampMedKey:String):void
Sets the campaign medium key,
which is used to retrieve the medium from your campaign URLs.
| GoogleAnalyticsAPI | |
![]() |
setCampNameKey(newCampNameKey:String):void
Sets the campaign name key.
| GoogleAnalyticsAPI | |
![]() |
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 | |
![]() |
setCampSourceKey(newCampSrcKey:String):void
Sets the campaign source key,
which is used to retrieve the campaign source from the URL.
| GoogleAnalyticsAPI | |
![]() |
setCampTermKey(newCampTermKey:String):void
Sets the campaign term key,
which is used to retrieve the campaign keywords from the URL.
| GoogleAnalyticsAPI | |
![]() |
setClientInfo(enable:Boolean):void
Sets the browser tracking module.
| GoogleAnalyticsAPI | |
![]() |
setCookiePath(newCookiePath:String):void
Sets the new cookie path for your site.
| GoogleAnalyticsAPI | |
![]() |
setCookieTimeout(newDefaultTimeout:int):void
Sets the campaign tracking cookie expiration time in seconds.
| GoogleAnalyticsAPI | |
![]() |
setDetectFlash(enable:Boolean):void
Sets the Flash detection flag.
| GoogleAnalyticsAPI | |
![]() |
setDetectTitle(enable:Boolean):void
Sets the title detection flag.
| GoogleAnalyticsAPI | |
![]() |
setDomainName(newDomainName:String):void
Sets the domain name for cookies.
| GoogleAnalyticsAPI | |
![]() |
setLocalGifPath(newLocalGifPath:String):void
Sets the local path for the Urchin GIF file.
| GoogleAnalyticsAPI | |
![]() |
setLocalRemoteServerMode():void
Invoke this method to send your tracking data both to a local server
and to the Google Analytics backend servers.
| GoogleAnalyticsAPI | |
![]() |
setLocalServerMode():void
Invoke this method to send your tracking data to a local server only.
| GoogleAnalyticsAPI | |
![]() |
setRemoteServerMode():void
Default installations of Google Analytics send tracking data to the Google Analytics server.
| GoogleAnalyticsAPI | |
![]() |
setSampleRate(newRate:Number):void
Sets the new sample rate.
| GoogleAnalyticsAPI | |
![]() |
setSessionTimeout(newTimeout:int):void
Sets the new session timeout in seconds.
| GoogleAnalyticsAPI | |
![]() |
setVar(newVal:String):void
Sets a user-defined value.
| GoogleAnalyticsAPI | |
![]() |
trackEvent(category:String, action:String, label:String = null, value:Number):Boolean
Constructs and sends the event tracking call to GATC.
| GoogleAnalyticsAPI | |
![]() |
trackPageview(pageURL:String = ""):void
Main logic for GATC (Google Analytic Tracker Code).
| GoogleAnalyticsAPI | |
![]() |
trackTrans():void
Sends both the transaction and item data to the Google Analytics server.
| GoogleAnalyticsAPI | |
| account | property |
account:String [read-write]Indicates the account value of the tracking.
Implementation public function get account():String
public function set account(value:String):void
| config | property |
config:Configuration [read-write]Determinates the Configuration object of the tracker.
Implementation public function get config():Configuration
public function set config(value:Configuration):void
| debug | property |
debug:DebugConfiguration [read-write]Determinates the DebugConfiguration of the tracker.
Implementation public function get debug():DebugConfiguration
public function set debug(value:DebugConfiguration):void
| mode | property |
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
| visualDebug | property |
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
| isReady | () | method |
public function isReady():BooleanIndicates if the tracker is ready.
ReturnsBoolean |