|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface GoogleAnalyticsFeature.Tracker
Provides a way of reporting event and page views.
| Method Summary | |
|---|---|
void |
reportEvent(java.lang.String eventName,
java.lang.String action)
Requires the name of the gadget and action parameter in order to correctly insert tracked data into Event Tracking reports. |
void |
reportEvent(java.lang.String eventName,
java.lang.String action,
java.lang.String label)
Requires the name of the gadget and action parameter in order to correctly insert tracked data into Event Tracking reports. |
void |
reportEvent(java.lang.String eventName,
java.lang.String action,
java.lang.String label,
int value)
Requires the name of the gadget and action parameter in order to correctly insert tracked data into Event Tracking reports. |
void |
reportPageview(java.lang.String path)
Requires a string in order to correctly populate the content reports. |
| Method Detail |
|---|
void reportEvent(java.lang.String eventName,
java.lang.String action)
eventName - A string used at the top level of the Event Tracking
reports. For example, if you were tracking interaction on a
number of gadget elements, you would likely use the name of the
gadget itself for this parameter, so that all interaction
tracking for the gadget would be aggregated in the same section
of the Google Analytics reports.action - A string to further segment gadget interaction in the Event
Tracking reports. For more information, see the Tracking Events
void reportEvent(java.lang.String eventName,
java.lang.String action,
java.lang.String label)
eventName - A string used at the top level of the Event Tracking
reports. For example, if you were tracking interaction on a
number of gadget elements, you would likely use the name of the
gadget itself for this parameter, so that all interaction
tracking for the gadget would be aggregated in the same section
of the Google Analytics reports.action - A string to further segment gadget interaction in the Event
Tracking reports. For more information, see the Tracking Eventslabel - String you can use as a secondary segment for your gadget.
void reportEvent(java.lang.String eventName,
java.lang.String action,
java.lang.String label,
int value)
eventName - A string used at the top level of the Event Tracking
reports. For example, if you were tracking interaction on a
number of gadget elements, you would likely use the name of the
gadget itself for this parameter, so that all interaction
tracking for the gadget would be aggregated in the same section
of the Google Analytics reports.action - A string to further segment gadget interaction in the Event
Tracking reports. For more information, see the Tracking Eventslabel - String you can use as a secondary segment for your gadget.value - Number that you can supply as a value for the gadget
interaction. This number is aggregated for each time the method
is invoked.void reportPageview(java.lang.String path)
path - Path to provide for the virtual URL of this element.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||