Class AnalyticsConfigData
java.lang.Object
com.dmurph.tracking.AnalyticsConfigData
Data that is client-specific, and should be common for all tracking requests.
For convenience most of this data is populated automatically by
.
invalid reference
#populateFromSystem()
- Author:
- Daniel Murphy
-
Constructor Summary
ConstructorsConstructorDescriptionAnalyticsConfigData(String argTrackingCode) constructs with the tracking code and a new visitor data.AnalyticsConfigData(String argTrackingCode, VisitorData visitorData) constructs with the tracking code using the provided visitor data. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetColorDepth(String argColorDepth) Sets the color depth of the user. like 32 bit.voidsetEncoding(String argEncoding) Sets the character encoding of the client. like UTF-8voidsetFlashVersion(String argFlashVersion) Sets the flash version of the client, like "9.0 r24"voidsetScreenResolution(String argScreenResolution) Sets the screen resolution, like "1280x800".voidsetUserAgent(String userAgent) voidsetUserLanguage(String argUserLanguage) Sets the user language, like "EN-us"
-
Constructor Details
-
AnalyticsConfigData
constructs with the tracking code and a new visitor data.- Parameters:
argTrackingCode-
-
AnalyticsConfigData
constructs with the tracking code using the provided visitor data.- Parameters:
argTrackingCode-
-
-
Method Details
-
getColorDepth
- Returns:
- the colorDepth
-
getEncoding
- Returns:
- the encoding
-
getFlashVersion
- Returns:
- the flashVersion
-
getScreenResolution
- Returns:
- the screenResolution
-
getTrackingCode
- Returns:
- the trackingCode
-
getUserLanguage
- Returns:
- the userLanguage
-
getUserAgent
- Returns:
- the user agent used for the network requests
-
getVisitorData
- Returns:
- the visitor data, used to track unique visitors
-
setColorDepth
Sets the color depth of the user. like 32 bit.- Parameters:
argColorDepth-
-
setEncoding
Sets the character encoding of the client. like UTF-8- Parameters:
argEncoding- the encoding to set
-
setFlashVersion
Sets the flash version of the client, like "9.0 r24"- Parameters:
argFlashVersion- the flashVersion to set
-
setScreenResolution
Sets the screen resolution, like "1280x800".- Parameters:
argScreenResolution- the screenResolution to set
-
setUserLanguage
Sets the user language, like "EN-us"- Parameters:
argUserLanguage- the userLanguage to set
-
setUserAgent
-