|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.brsanthu.googleanalytics.GoogleAnalyticsRequest<EventHit>
com.brsanthu.googleanalytics.EventHit
public class EventHit
GA request to track events.
For more information, see GA Parameters Reference
| Field Summary |
|---|
| Fields inherited from class com.brsanthu.googleanalytics.GoogleAnalyticsRequest |
|---|
customDimentions, customMetrics, parms |
| Constructor Summary | |
|---|---|
EventHit()
|
|
EventHit(String eventCategory,
String eventAction)
|
|
EventHit(String eventCategory,
String eventAction,
String eventLabel,
Integer eventValue)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EventHit()
public EventHit(String eventCategory,
String eventAction)
public EventHit(String eventCategory,
String eventAction,
String eventLabel,
Integer eventValue)
| Method Detail |
|---|
public 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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||