This document provides a reference to the complete list of EasyTracker parameters available in the Google Analytics SDK for Windows 8 and Windows Phone.

When adding a reference to the Google Analytics SDK NuGet package to a Windows Phone or Windows 8 project, a file "analytics.xml" is automatically added to your project. Or, if using the native SDK for JavaScript apps, these parameters are also available on the EasyTrackerConfig object to set in code.

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.

appName (String): The name of your app, used in the app name dimension in your reports. Defaults to the value found in the package.

appVersion (String): The version of your application, used in the app version dimension within your reports. Defaults to the version found in the package.

debug (Boolean): Flag to enable or writing of debug information to the log, useful for troubleshooting your implementation. false by default.

dispatchPeriod (TimeSpan): The dispatch period in seconds. Defaults to 30 seconds.

sampleFrequency (Float): The sample rate to use. Default is 100.0. It can be any value between 0.0 and 100.0

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.

sessionTimeout (TimeSpan): The amount of time your application can stay in the background before the session is ended. Default is 30 seconds. Null value disables EasyTracker session management.

autoTrackNetworkConnectivity (Boolean): Tells Google Analytics to automatically monitor network connectivity and avoid sending logs while not connected. Default is true.

useSecure (Boolean): If true, causes all hits to be sent to the secure (SSL) Google Analytics endpoint. Default is false.

Available only for Xaml based apps

reportUncaughtExceptions (Boolean): Automatically track an Exception each time an uncaught exception is thrown in your application. false by default.

autoAppLifetimeTracking (Boolean): Automatically track application lifetime events (e.g. suspend and resume). true by default.

autoAppLifetimeMonitoring (Boolean): Automatically monitor suspend and resume events. If true, all dispatched events will be sent on suspend and session timeout will be honored. true by default.

Last edited Aug 13, 2013 at 3:01 AM by timgreenfield, version 7