public class CustomAnalyticsImpl extends Object implements com.gwtplatform.mvp.client.googleanalytics.GoogleAnalytics
GoogleAnalytics implementation that uses JSNI to
expose Google Analytics javascript methods.| Constructor and Description |
|---|
CustomAnalyticsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAccount(String trackerName,
String userAccount) |
void |
init(String userAccount) |
void |
trackEvent(String category,
String action) |
void |
trackEvent(String category,
String action,
String optLabel) |
void |
trackEvent(String category,
String action,
String optLabel,
int optValue) |
void |
trackEvent(String category,
String action,
String optLabel,
int optValue,
boolean optNonInteraction) |
void |
trackEventWithTracker(String trackerName,
String category,
String action) |
void |
trackEventWithTracker(String trackerName,
String category,
String action,
String optLabel) |
void |
trackEventWithTracker(String trackerName,
String category,
String action,
String optLabel,
int optValue) |
void |
trackEventWithTracker(String trackerName,
String category,
String action,
String optLabel,
int optValue,
boolean optNonInteraction) |
void |
trackPageview() |
void |
trackPageview(String pageName) |
void |
trackPageview(String trackerName,
String pageName) |
public void init(String userAccount)
init in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void addAccount(String trackerName, String userAccount)
addAccount in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackPageview(String pageName)
trackPageview in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackPageview()
trackPageview in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackPageview(String trackerName, String pageName)
trackPageview in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackEvent(String category, String action)
trackEvent in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackEvent(String category, String action, String optLabel)
trackEvent in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackEvent(String category, String action, String optLabel, int optValue)
trackEvent in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackEvent(String category, String action, String optLabel, int optValue, boolean optNonInteraction)
trackEvent in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackEventWithTracker(String trackerName, String category, String action)
trackEventWithTracker in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackEventWithTracker(String trackerName, String category, String action, String optLabel)
trackEventWithTracker in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticspublic void trackEventWithTracker(String trackerName, String category, String action, String optLabel, int optValue)
trackEventWithTracker in interface com.gwtplatform.mvp.client.googleanalytics.GoogleAnalyticsCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.