public class EventHit extends GoogleAnalyticsRequest<EventHit>
For more information, see GA Parameters Reference
customDimensions, customMetrics, delegateExecutor, parms| Constructor and Description |
|---|
EventHit() |
EventHit(String eventCategory,
String eventAction) |
EventHit(String eventCategory,
String eventAction,
String eventLabel,
Integer eventValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
eventAction() |
EventHit |
eventAction(String value)
|
String |
eventCategory() |
EventHit |
eventCategory(String value)
Event Tracking |
String |
eventLabel() |
EventHit |
eventLabel(String value)
|
Integer |
eventValue() |
EventHit |
eventValue(Integer value)
|
adwordsId, adwordsId, anonymizeIp, anonymizeIp, applicationId, applicationId, applicationInstallerId, applicationInstallerId, applicationName, applicationName, applicationVersion, applicationVersion, cacheBuster, cacheBuster, campaignContent, campaignContent, campaignId, campaignId, campaignKeyword, campaignKeyword, campaignMedium, campaignMedium, campaignName, campaignName, campaignSource, campaignSource, clientId, clientId, contentDescription, contentDescription, customDimension, customDimension, customDimensions, customMetric, customMetric, custommMetrics, dataSource, dataSource, displayadId, displayadId, documentEncoding, documentEncoding, documentHostName, documentHostName, documentPath, documentPath, documentReferrer, documentReferrer, documentTitle, documentTitle, documentUrl, documentUrl, experimentId, experimentId, experimentVariant, experimentVariant, flashVersion, flashVersion, fromBoolean, fromDouble, fromInteger, geoid, geoid, getBoolean, getDouble, getInteger, getParameters, getString, hitType, hitType, javaEnabled, javaEnabled, nonInteractionHit, nonInteractionHit, parameter, parameter, protocolVersion, protocolVersion, queueTime, queueTime, screenColors, screenColors, screenResolution, screenResolution, send, sendAsync, sessionControl, sessionControl, setBoolean, setDouble, setExecutor, setInteger, setString, toBoolean, toDouble, toInteger, toString, trackingId, trackingId, userAgent, userAgent, userId, userId, userIp, userIp, userLanguage, userLanguage, viewportSize, viewportSizepublic EventHit eventCategory(String value)
Optional.
Specifies the event category. Must not be empty.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
ec |
text | None | 150 Bytes | event |
Categoryec=Category public String eventCategory()
public EventHit eventAction(String value)
Optional.
Specifies the event action. Must not be empty.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
ea |
text | None | 500 Bytes | event |
Actionea=Action public String eventAction()
public EventHit eventLabel(String value)
Optional.
Specifies the event label.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
el |
text | None | 500 Bytes | event |
Labelel=Label public String eventLabel()
public EventHit eventValue(Integer value)
Optional.
Specifies the event value. Values must be non-negative.
| Parameter | Value Type | Default Value | Max Length | Supported Hit Types |
|---|---|---|---|---|
ev |
integer | None | None | event |
55ev=55 public Integer eventValue()
Copyright © Sep 2013–2018 Mike Hardy. All rights reserved.