| Modifier and Type | Method and Description |
|---|---|
GoogleAnalyticsConfig |
GoogleAnalytics.getConfig() |
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setDeriveSystemParameters(boolean deriveSystemProperties)
Deprecated.
Use
setDiscoverRequestParameters(boolean) instead |
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setDiscoverRequestParameters(boolean discoverSystemParameters)
If true, derives the system properties (User Language, Region, Country, Screen Size, Color Depth, and File encoding) and adds to
the default request.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setEnabled(boolean enabled)
Enables or disables the GoogleAnalytics posting.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setHttpsUrl(String httpsUrl)
URL to use when posting the event in https mode.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setHttpUrl(String httpUrl)
URL to use when posting the event in http mode.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setMaxThreads(int maxThreads) |
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setProxyHost(String proxyHost)
Sets the host name of the proxy server, to connect to Google analytics.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setProxyPassword(String proxyPassword)
Sets the password which should be used to authenticate to the proxy server.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setProxyPort(int proxyPort)
Sets the host name of the proxy server, to connect to Google analytics.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setProxyUserName(String proxyUserName)
Sets the user name which should be used to authenticate to the proxy server.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setThreadNameFormat(String threadNameFormat)
Sets the thread name format that should be while creating the threads.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setUseHttps(boolean useHttps)
Instructs to use https url to send the events.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setUserAgent(String userAgent)
Sets the user agent string that should be sent while making the http request.
|
GoogleAnalyticsConfig |
GoogleAnalyticsConfig.setValidate(boolean validate)
If set, validates the request before sending to Google Analytics.
|
| Modifier and Type | Method and Description |
|---|---|
protected ThreadPoolExecutor |
GoogleAnalytics.createExecutor(GoogleAnalyticsConfig config) |
protected org.apache.http.client.HttpClient |
GoogleAnalytics.createHttpClient(GoogleAnalyticsConfig config) |
DefaultRequest |
RequestParameterDiscoverer.discoverParameters(GoogleAnalyticsConfig config,
DefaultRequest request) |
DefaultRequest |
DefaultRequestParameterDiscoverer.discoverParameters(GoogleAnalyticsConfig config,
DefaultRequest request) |
DefaultRequest |
AwtRequestParameterDiscoverer.discoverParameters(GoogleAnalyticsConfig config,
DefaultRequest request) |
protected int |
GoogleAnalytics.getDefaultMaxPerRoute(GoogleAnalyticsConfig config) |
| Constructor and Description |
|---|
GoogleAnalytics(GoogleAnalyticsConfig config,
DefaultRequest defaultRequest) |
GoogleAnalytics(GoogleAnalyticsConfig config,
String trackingId) |
GoogleAnalytics(GoogleAnalyticsConfig config,
String trackingId,
String appName,
String appVersion) |
Copyright © Sep 2013–2015 H20.ai. All rights reserved.