Package | com.rojored.gatracking.net |
Class | public class RequestVariables |
RequestVariables
class encapsulates all of the possible
__utm.gif
's request parameters.
Property | Defined by | ||
---|---|---|---|
utmac : String
Account string.
| RequestVariables | ||
utmcc : String
Cookie values.
| RequestVariables | ||
utmcn : String
Starts a new campaign session.
| RequestVariables | ||
utmcr : String
Indicates a repeat campaign visit.
| RequestVariables | ||
utmcs : String = "-"
Browser language encoding.
| RequestVariables | ||
utmdt : String
Page title.
| RequestVariables | ||
utme : String
Event tracking data.
| RequestVariables | ||
utmfl : String
Adobe Flash Player version.
| RequestVariables | ||
utmhn : String
Host name.
| RequestVariables | ||
utmje : String
Whether the browser is Java-enabled.
| RequestVariables | ||
utmn : String
Unique generater request ID, used to prevent caching of the GIF image.
| RequestVariables | ||
utmp : String
Page name.
| RequestVariables | ||
utmr : String
Referrer.
| RequestVariables | ||
utmsc : String
Screen color depth.
| RequestVariables | ||
utmsr : String
Screen resolution.
| RequestVariables | ||
utmt : String
Type variable applied to events (
utmt=event ),
transactions, items and user-defined variables. | RequestVariables | ||
utmul : String
Browser language.
| RequestVariables | ||
utmwv : String = "4"
Tracking code version.
| RequestVariables |
Method | Defined by | ||
---|---|---|---|
Constructor
| RequestVariables | ||
toString():String
Concatenates all defined properties, to be used as
GET
parameters. | RequestVariables |
utmac | property |
utmac:String
[read-write]Account string.
The value of this property is not URL-encoded in the request.
This parameter is mandatory; it must appear on every request, it must be non-empty.
Implementation public function get utmac():String
public function set utmac(value:String):void
utmcc | property |
public var utmcc:String
Cookie values. This parameters encodes all the cookies requested from the page.
The value for this property is URL-encoded in the request.
This parameter is mandatory; it must appear on every request, it must be non-empty.
utmcn | property |
public var utmcn:String
Starts a new campaign session.
Either utmcn
or utmcr
is present on any
given request. Possible values for this parameter are 1
(true) or 0
(false).
This parameter is optional.
utmcr | property |
public var utmcr:String
Indicates a repeat campaign visit.
Either utmcn
or utmcr
is present on any
given request. Possible values for this parameter are 1
(true) or 0
(false).
This parameter is optional.
utmcs | property |
public var utmcs:String = "-"
Browser language encoding.
The value of this property is not URL-encoded in the request.
This parameter is optional. If it's not set by the browser, the default is used.
The default value is -
.
utmdt | property |
public var utmdt:String
Page title.
The value of this property is URL-Encoded in the request.
This parameter is optional.
utme | property |
public var utme:String
Event tracking data.
Event data, encoded; FIXME: figure the format.
This parameter is optional, used in event tracking.
utmfl | property |
public var utmfl:String
Adobe Flash Player version.
The value of this property is URL-encoded in the request.
This parameter is optional.
utmhn | property |
public var utmhn:String
Host name.
The value of this property is URL-encoded in the request.
Mandatory, since Analytics tracks sites.
utmje | property |
public var utmje:String
Whether the browser is Java-enabled.
Possible values are 1
(true) or 0
(false).
This parameter is optional.
utmn | property |
public var utmn:String
Unique generater request ID, used to prevent caching of the GIF image.
Our implementation uses epoch time when the request is made as a value.
This parameter is mandatory, but it would be handled by the library.
utmp | property |
public var utmp:String
Page name.
The value of this property is URL-encoded in the request.
This parameter is mandatory.
utmr | property |
public var utmr:String
Referrer.
Complete URL, including request parameters. The value of this property is URL-encoded.
This parameter is optional.
utmsc | property |
public var utmsc:String
Screen color depth.
The value of this property is URL-encoded.
This parameter is optional.
utmsr | property |
public var utmsr:String
Screen resolution.
The value of this property is URL-encoded.
This parameter is optional.
utmt | property |
public var utmt:String
Type variable applied to events (utmt=event
),
transactions, items and user-defined variables.
The value of this property is URL-encoded.
This parameter is mandatory for events.
utmul | property |
public var utmul:String
Browser language.
The value of this property is URL-encoded.
This parameter is optional.
utmwv | property |
public var utmwv:String = "4"
Tracking code version.
FIXME: not sure how this works, using "4" for now.
The value of this property is not URL-encoded.
This parameter is optional.
RequestVariables | () | constructor |
public function RequestVariables()
Constructor
toString | () | method |
public function toString():String
Concatenates all defined properties, to be used as GET
parameters.
String |