|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.brsanthu.googleanalytics.GoogleAnalyticsRequest<TimingHit>
com.brsanthu.googleanalytics.TimingHit
public class TimingHit
GA request to track performance timings like page load time, server response time etc.
For more information, see GA Parameters Reference
| Field Summary |
|---|
| Fields inherited from class com.brsanthu.googleanalytics.GoogleAnalyticsRequest |
|---|
customDimentions, customMetrics, parms |
| Constructor Summary | |
|---|---|
TimingHit()
|
|
| Method Summary | |
|---|---|
Integer |
dnsTime()
|
TimingHit |
dnsTime(Integer value)
|
Integer |
pageDownloadTime()
|
TimingHit |
pageDownloadTime(Integer value)
|
Integer |
pageLoadTime()
|
TimingHit |
pageLoadTime(Integer value)
|
Integer |
redirectResponseTime()
|
TimingHit |
redirectResponseTime(Integer value)
|
Integer |
serverResponseTime()
|
TimingHit |
serverResponseTime(Integer value)
|
Integer |
tcpConnectTime()
|
TimingHit |
tcpConnectTime(Integer value)
|
String |
userTimingCategory()
|
TimingHit |
userTimingCategory(String value)
|
String |
userTimingLabel()
|
TimingHit |
userTimingLabel(String value)
|
Integer |
userTimingTime()
|
TimingHit |
userTimingTime(Integer value)
|
String |
userTimingVariableName()
|
TimingHit |
userTimingVariableName(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimingHit()
| Method Detail |
|---|
public TimingHit userTimingCategory(String value)
Optional.
Specifies the user timing category.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
utc |
text | None | 150 Bytes | timing |
categoryutc=category
public String userTimingCategory()
public TimingHit userTimingVariableName(String value)
Optional.
Specifies the user timing variable.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
utv |
text | None | 500 Bytes | timing |
lookuputv=lookup
public String userTimingVariableName()
public TimingHit userTimingTime(Integer value)
Optional.
Specifies the user timing value. The value is in milliseconds.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
utt |
integer | None | None | timing |
123utt=123
public Integer userTimingTime()
public TimingHit userTimingLabel(String value)
Optional.
Specifies the user timing label.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
utl |
text | None | 500 Bytes | timing |
labelutl=label
public String userTimingLabel()
public TimingHit pageLoadTime(Integer value)
Optional.
Specifies the time it took for a page to load. The value is in milliseconds.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
plt |
integer | None | None | timing |
3554plt=3554
public Integer pageLoadTime()
public TimingHit dnsTime(Integer value)
Optional.
Specifies the time it took to do a DNS lookup.The value is in milliseconds.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
dns |
integer | None | None | timing |
43dns=43
public Integer dnsTime()
public TimingHit pageDownloadTime(Integer value)
Optional.
Specifies the time it took for the page to be downloaded. The value is in milliseconds.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
pdt |
integer | None | None | timing |
500pdt=500
public Integer pageDownloadTime()
public TimingHit redirectResponseTime(Integer value)
Optional.
Specifies the time it took for any redirects to happen. The value is in milliseconds.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
rrt |
integer | None | None | timing |
500rrt=500
public Integer redirectResponseTime()
public TimingHit tcpConnectTime(Integer value)
Optional.
Specifies the time it took for a TCP connection to be made. The value is in milliseconds.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
tcp |
integer | None | None | timing |
500tcp=500
public Integer tcpConnectTime()
public TimingHit serverResponseTime(Integer value)
Optional.
Specifies the time it took for the server to respond after the connect time. The value is in milliseconds.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
srt |
integer | None | None | timing |
500srt=500
public Integer serverResponseTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||