This document provides a reference to the complete list of configuration parameters available in the Google Analytics SDK v4 for Android.
In the Google Analytics SDK v4 for Android, you can configure global parameters and tracker specific parameters defined in an XML configuration file. The table below lists all available parameters you can use.
||The name of your application, used in the app name dimension in your reports. You can find the default value in the package.|
||The version of your application, used in the app version dimension within your reports. Defaults to the version found in the package.|
||Frequency of automatic dispatch in seconds. The default is 30 minutes (1,800 seconds).|
||The sample rate to use, which can be any value between 0.0 and 100.0. The default is 100.0|
||The time (in seconds) your application can stay in the background before the session is ended. Setting this to a negative number will result in a new session never being started by the SDK. However, session timeout can still be managed in the Google Analytics admin interface; see Session and campaign timeout handling for details. The default is 30 seconds.|
||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.|