Packagecom.google.analytics.core
Classpublic dynamic class Buffer

Google Analytics Tracker Code (GATC)'s memory module.



Public Properties
 PropertyDefined by
  utma : UTMA
[read-only] Indicates the utma value of the buffer.
Buffer
  utmb : UTMB
[read-only] Indicates the utmb value of the buffer.
Buffer
  utmc : UTMC
[read-only] Indicates the utmc value of the buffer.
Buffer
  utmk : UTMK
[read-only] Indicates the utmk value of the buffer.
Buffer
  utmv : UTMV
[read-only] Indicates the utmv value of the buffer.
Buffer
  utmz : UTMZ
[read-only] Indicates the utmz value of the buffer.
Buffer
Public Methods
 MethodDefined by
  
Buffer(config:Configuration, debug:DebugConfiguration, volatile:Boolean = false, data:Object = null)
Creates a new Buffer instance.
Buffer
  
clearCookies():void
This method clears all the fields of the cookie.
Buffer
  
This method generates a digest of all the __utmvalues.
Buffer
  
hasUTMA():Boolean
Indicates if the buffer contains an UTMA value.
Buffer
  
hasUTMB():Boolean
Indicates if the buffer contains an UTMB value.
Buffer
  
hasUTMC():Boolean
Indicates if the buffer contains an UTMC value.
Buffer
  
hasUTMK():Boolean
Indicates if the buffer contains an UTMK value.
Buffer
  
hasUTMV():Boolean
Indicates if the buffer contains an UTMV value.
Buffer
  
hasUTMZ():Boolean
Indicates if the buffer contains an UTMZ value.
Buffer
  
isGenuine():Boolean
Buffer
  
isVolatile():Boolean
Indicates if the buffer is volatile.
Buffer
  
Clear the current utmb and utmc cookies both in the SO and in memory
Buffer
  
save():void
Save the buffer.
Buffer
  
update(name:String, value:*):void
Updates a property in the buffer.
Buffer
  
updateUTMA(timestamp:Number):void
Updates the UTMA value with the specified timestamp value.
Buffer
Property detail
utmaproperty
utma:UTMA  [read-only]

Indicates the utma value of the buffer.

Implementation
    public function get utma():UTMA
utmbproperty 
utmb:UTMB  [read-only]

Indicates the utmb value of the buffer.

Implementation
    public function get utmb():UTMB
utmcproperty 
utmc:UTMC  [read-only]

Indicates the utmc value of the buffer.

Implementation
    public function get utmc():UTMC
utmkproperty 
utmk:UTMK  [read-only]

Indicates the utmk value of the buffer.

Implementation
    public function get utmk():UTMK
utmvproperty 
utmv:UTMV  [read-only]

Indicates the utmv value of the buffer.

Implementation
    public function get utmv():UTMV
utmzproperty 
utmz:UTMZ  [read-only]

Indicates the utmz value of the buffer.

Implementation
    public function get utmz():UTMZ
Constructor detail
Buffer()constructor
public function Buffer(config:Configuration, debug:DebugConfiguration, volatile:Boolean = false, data:Object = null)

Creates a new Buffer instance.

Parameters
config:Configuration — The Configuration reference use in the Buffer to set it.
 
debug:DebugConfiguration — The DebugConfiguration reference of the Buffer.
 
volatile:Boolean (default = false) — If true no use of SharedObject, only in-memory data.
 
data:Object (default = null) — Can be used to inject data into OBJ or SO.
Method detail
clearCookies()method
public function clearCookies():void

This method clears all the fields of the cookie.

generateCookiesHash()method 
public function generateCookiesHash():Number

This method generates a digest of all the __utmvalues.

Returns
Number
hasUTMA()method 
public function hasUTMA():Boolean

Indicates if the buffer contains an UTMA value.

Returns
Boolean
hasUTMB()method 
public function hasUTMB():Boolean

Indicates if the buffer contains an UTMB value.

Returns
Boolean
hasUTMC()method 
public function hasUTMC():Boolean

Indicates if the buffer contains an UTMC value.

Returns
Boolean
hasUTMK()method 
public function hasUTMK():Boolean

Indicates if the buffer contains an UTMK value.

Returns
Boolean
hasUTMV()method 
public function hasUTMV():Boolean

Indicates if the buffer contains an UTMV value.

Returns
Boolean
hasUTMZ()method 
public function hasUTMZ():Boolean

Indicates if the buffer contains an UTMZ value.

Returns
Boolean
isGenuine()method 
public function isGenuine():Boolean

Returns
Boolean
isVolatile()method 
public function isVolatile():Boolean

Indicates if the buffer is volatile.

Returns
Boolean
resetCurrentSession()method 
public function resetCurrentSession():void

Clear the current utmb and utmc cookies both in the SO and in memory

save()method 
public function save():void

Save the buffer.

update()method 
public function update(name:String, value:*):void

Updates a property in the buffer.

Parameters
name:String
 
value:*
updateUTMA()method 
public function updateUTMA(timestamp:Number):void

Updates the UTMA value with the specified timestamp value.

Parameters
timestamp:Number