Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ALWAYS - Enum constant in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.SendMode
-
Always send tracked page views and events to Google Analytics.
- apply(TrackerConfiguration) - Method in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.LogLevel
-
Applies this log level to the given tracker configuration object.
C
- configureTracker(TrackerConfiguration) - Method in interface org.vaadin.googleanalytics.tracking.TrackerConfigurator
-
Configure a tracker by updating the provided configuration.
- cookieDomain() - Element in annotation interface org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics
-
Deprecated.Since GA4 Configure the cookie domains through analytics interface.
- create(EnableGoogleAnalytics.LogLevel, boolean) - Static method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Creates a tracker configuration with default settings based on a log level and whether to actually enable sending commands to Google Analytics.
D
- DEBUG - Enum constant in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.LogLevel
-
Log basic information to the client-side JavaScript console.
- DEFAULT_COOKIE_DOMAIN - Static variable in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
The default cookie domain value.
- devLogging() - Element in annotation interface org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics
-
Client-side log level to use when Vaadin is not run in production mode.
E
- EnableGoogleAnalytics - Annotation Interface in org.vaadin.googleanalytics.tracking
-
Annotation that enables automatic Google Analytics tracking if present on the application's main layout.
- EnableGoogleAnalytics.LogLevel - Enum Class in org.vaadin.googleanalytics.tracking
-
Client-side log levels that can be configured through
EnableGoogleAnalytics.productionLogging()andEnableGoogleAnalytics.devLogging(). - EnableGoogleAnalytics.SendMode - Enum Class in org.vaadin.googleanalytics.tracking
-
Send mode settings that can be configured through
EnableGoogleAnalytics.sendMode().
F
- fromAnnotation(EnableGoogleAnalytics, boolean) - Static method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Creates a tracker configuration based on annotation values.
G
- ga(String, Map, Serializable...) - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Sends a generic command to Google Analytics.
- get(UI) - Static method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Gets or creates a tracker for the given UI.
- getCookieDomain() - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Deprecated.In GA4 it is recommended to configure cookie domains through admin interface.
- getCreateFields() - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Gets all the custom fields to pass when creating the client-side tracker.
- getCurrent() - Static method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Gets or creates a tracker for the current UI.
- getGaDebug() - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Gets the
ga_debugvalues to use when creating a clients-side tracker. - getInitialValues() - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Gets the initial value to set after creating a client-side tracker.
- getPageViewPrefix() - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Gets the current page view prefix.
- getScriptUrl() - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Gets the URL from which to load the Google Analytics script.
- getTrackingId() - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Gets the Google Analytics tracking ID to use.
- GoogleAnalyticsTracker - Class in org.vaadin.googleanalytics.tracking
-
Sends commands to Google Analytics in the browser.
I
- IgnorePageView - Annotation Interface in org.vaadin.googleanalytics.tracking
-
Indicates that a page view should not be automatically sent when navigating to a route target.
- InitListener - Class in org.vaadin.googleanalytics.tracking
-
Automatically registers a navigation listener that sends page views to Google Analytics.
- InitListener() - Constructor for class org.vaadin.googleanalytics.tracking.InitListener
- isInitialized() - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Checks whether this tracker has been initialized.
N
- NEVER - Enum constant in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.SendMode
-
Never send tracked page views and events to Google Analytics.
- NONE - Enum constant in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.LogLevel
-
Log nothing to the client-side JavaScript console.
O
- org.vaadin.googleanalytics.tracking - package org.vaadin.googleanalytics.tracking
P
- pageviewPrefix() - Element in annotation interface org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics
-
A prefix to add to the URL of all page views.
- PRODUCTION - Enum constant in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.SendMode
-
Send tracked page views and events to Google Analytics only when Vaadin is run in production mode.
- productionLogging() - Element in annotation interface org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics
-
Client-side log level to use when Vaadin is run in production mode.
R
- removeCreateField(String) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Removes a create field value.
- removeGaDebug(String) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Removes a debug parameter value.
- removeInitialValue(String) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Removes an initial value.
S
- sendEvent(String, String) - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Sends an event command with the given category and action.
- sendEvent(String, String, String) - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Sends an event command with the given category, action and label.
- sendEvent(String, String, String, int) - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Sends an event command with the given category, action, label and value.
- sendEvent(String, String, Map) - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Sends an event command with the given category, action and arbitrary additional fields.
- sendMode() - Element in annotation interface org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics
-
Mode to determine whether page views and events should actually be sent to Google Analytics.
- sendPageView(String) - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Sends a page view command to Google Analytics.
- sendPageView(String, Map) - Method in class org.vaadin.googleanalytics.tracking.GoogleAnalyticsTracker
-
Sends a page view command with arbitrary additional fields to Google Analytics.
- serviceInit(ServiceInitEvent) - Method in class org.vaadin.googleanalytics.tracking.InitListener
- setCookieDomain(String) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Deprecated.In GA4 it is recommended to configure cookie domains through admin interface.
- setCreateField(String, Serializable) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Sets a custom field value to use when creating the client-side tracker.
- setGaDebug(String, Serializable) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Adds an entry that should be assigned to the
ga_debugvariable when the client-side tracker is initialized. - setInitialValue(String, Serializable) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Sets a value that will be included in an initial
setcommand. - setPageViewPrefix(String) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Sets a prefix that will be added to the location of all tracked page views.
- setScriptUrl(String) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Sets the URL from which to load the Google Analytics script.
- setTrackingId(String) - Method in class org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Sets the Google Analytics tracking ID to use.
- shouldSend(boolean) - Method in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.SendMode
-
Checks whether sending should be enabled for the given production mode setting.
T
- TRACE - Enum constant in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.LogLevel
-
Log all available information to the client-side JavaScript console.
- TrackerConfiguration - Class in org.vaadin.googleanalytics.tracking
-
Configuration for a Google Analytics tracker.
- TrackerConfigurator - Interface in org.vaadin.googleanalytics.tracking
-
Programmatically configures a Google Analytics tracker if implemented by the application's main router layout.
V
- value() - Element in annotation interface org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics
-
The Google Analytics tracking ID to use.
- valueOf(String) - Static method in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.LogLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.SendMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.LogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.vaadin.googleanalytics.tracking.EnableGoogleAnalytics.SendMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form