|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.gadgets.client.impl.GoogleAnalyticsFeatureImpl.TrackerImpl
public static class GoogleAnalyticsFeatureImpl.TrackerImpl
Provides a way of reporting event and page views.
| Constructor Summary | |
|---|---|
protected |
GoogleAnalyticsFeatureImpl.TrackerImpl()
Required protected constructor for JavaScriptObject subclass. |
| 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. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected GoogleAnalyticsFeatureImpl.TrackerImpl()
| Method Detail |
|---|
public final void reportEvent(java.lang.String eventName,
java.lang.String action)
GoogleAnalyticsFeature.Tracker
reportEvent in interface GoogleAnalyticsFeature.TrackereventName - 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
public final void reportEvent(java.lang.String eventName,
java.lang.String action,
java.lang.String label)
GoogleAnalyticsFeature.Tracker
reportEvent in interface GoogleAnalyticsFeature.TrackereventName - 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.
public final void reportEvent(java.lang.String eventName,
java.lang.String action,
java.lang.String label,
int value)
GoogleAnalyticsFeature.Tracker
reportEvent in interface GoogleAnalyticsFeature.TrackereventName - 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.public final void reportPageview(java.lang.String path)
GoogleAnalyticsFeature.Tracker
reportPageview in interface GoogleAnalyticsFeature.Trackerpath - 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 | ||||||||