Google Analytics SDK for Android - EasyTracker Parameters

This document provides a reference to the complete list of EasyTracker parameters available in the Google Analytics SDK for Android v2.x.


In the Google Analytics SDK for Android v2.x and higher, you can configure your EasyTracker implementation using parameters defined in your analytics.xml file. The table below lists all available parameters you can use for version 2 or higher of the Google Analytics SDK for Android.

EasyTracker Parameters

ga_trackingId string The Google Analytics tracking ID to which to send your data. Dashes in the ID must be unencoded. You can disable your tracking by not providing this value.
ga_appName string The name of your app, used in the app name dimension in your reports. Defaults to the value found in the package.
ga_appVersion string The version of your application, used in the app version dimension within your reports. Defaults to the version found in the package.
ga_logLevel (V3 only) string The verbosity of the SDK logger. Valid values from least to most verbose are: error,warning,info, and verbose. Log level is set to warning by default.
ga_debug (V2 only) boolean Flag to enable or writing of debug information to the log, useful for troubleshooting your implementation. false by default.
ga_dispatchPeriod integer The dispatch period in seconds. Defaults to 30 minutes.
ga_sampleFrequency string The sample rate to use. Default is 100.0. It can be any value between 0.0 and 100.0
ga_autoActivityTracking boolean Automatically track a screen view each time a user starts an Activity. false by default.
ga_anonymizeIp boolean Tells Google Analytics to anonymize the information sent by the tracker objects by removing the last octet of the IP address prior to its storage. Note that this will slightly reduce the accuracy of geographic reporting. false by default.
ga_reportUncaughtExceptions boolean Automatically track an Exception each time an uncaught exception is thrown in your application. false by default.
ga_sessionTimeout integer The amount of time (in seconds) your application can stay in the background before the session is ended. Default is 30 seconds. Negative value disables EasyTracker session management.