Uses of Class
org.vaadin.googleanalytics.tracking.TrackerConfiguration
-
Uses of TrackerConfiguration in org.vaadin.googleanalytics.tracking
Methods in org.vaadin.googleanalytics.tracking that return TrackerConfigurationModifier and TypeMethodDescriptionstatic TrackerConfigurationTrackerConfiguration.create(EnableGoogleAnalytics.LogLevel logLevel, boolean sendHits) Creates a tracker configuration with default settings based on a log level and whether to actually enable sending commands to Google Analytics.static TrackerConfigurationTrackerConfiguration.fromAnnotation(EnableGoogleAnalytics annotation, boolean productionMode) Creates a tracker configuration based on annotation values.TrackerConfiguration.removeCreateField(String name) Removes a create field value.TrackerConfiguration.removeGaDebug(String name) Removes a debug parameter value.TrackerConfiguration.removeInitialValue(String name) Removes an initial value.TrackerConfiguration.setCookieDomain(String cookieDomain) Deprecated.In GA4 it is recommended to configure cookie domains through admin interface.TrackerConfiguration.setCreateField(String name, Serializable value) Sets a custom field value to use when creating the client-side tracker.TrackerConfiguration.setGaDebug(String name, Serializable value) Adds an entry that should be assigned to thega_debugvariable when the client-side tracker is initialized.TrackerConfiguration.setInitialValue(String name, Serializable value) Sets a value that will be included in an initialsetcommand.TrackerConfiguration.setPageViewPrefix(String pageViewPrefix) Sets a prefix that will be added to the location of all tracked page views.TrackerConfiguration.setScriptUrl(String scriptUrl) Sets the URL from which to load the Google Analytics script.TrackerConfiguration.setTrackingId(String trackingId) Sets the Google Analytics tracking ID to use.Methods in org.vaadin.googleanalytics.tracking with parameters of type TrackerConfigurationModifier and TypeMethodDescriptionabstract voidEnableGoogleAnalytics.LogLevel.apply(TrackerConfiguration config) Applies this log level to the given tracker configuration object.voidTrackerConfigurator.configureTracker(TrackerConfiguration configuration) Configure a tracker by updating the provided configuration.