A new and improved version of the Google Analytics SDK for Android is now available with lots of fixes, improved methods, and better campaign tracking!
Here are the details.
- General Campaign Tracking
Version 1.3 now supports the ability to set campaign referral information at any time, instead of at installation time giving advertisers the ability to now track ads which lead people to user their app. Learn more about this feature and how to use it, at the new campaign tracking section.
- Anonymizing IP Addresses
setAnonymizeIp method is added in the GoogleAnalyticsTracker class that removes the last octet of the IP address prior to storage and makes the tracking more anonymous
- Configuring The Sample Rate
If you are getting a large volume of traffic, you can set the tracking sample rate to only send a portion of data to Analytics. Once configured, the tracker will decide based on visitor ID whether to send hits.
The start and stop methods are deprecated in favor of the startNewSession and stopSession. The existing methods will continue to be in the library, so your apps will still work when you upgrade, but we highlight recommend you move to these new methods.
Bug fixes includes:
- Fixed a few issues with how the SDK accesses SQLite. As a result you will see less warnings and the SDK now uses less memory!
- Fixed a bug that might occur if you’re using custom variables.
- The tracker no longer uses the application context passed to the SDK when starting up. This should avoid memory leaks caused by holding Activity Contexts beyond the life of the Activity.
[Source: Google Analytics]