Google Analytics team has announced following new features in the Mobile App Tracking: EasyTracking Library, Updated Google Analytics SDK, and more samples:
EasyTracker Library for iOS and Android enable tracking of application down to the Activity (or UIViewController for iOS) level with almost no coding required on your part. These Libraries are intended for use with the standard Google Analytics SDKs and should make it very easy to add standard tracking to your applications, revealed Google.
Another advantage to using the EasyTracker library is session management. As many developers know, it's not always easy to determine whether your application is active and when to start a new session. The EasyTracker library handles this for you. It'll determine when your application has been put into the background and will start a new session automatically," explained Google.
Google notes "Android version of the Library not only provides for easy tracking, but also ensures that all calls to GoogleAnalyticsTracker are done off the main UI Thread. Using this library should address responsiveness issues some Android developers have seen using the Google Analytics SDK. We've adapted the Android Notepad sample application to use the EasyTracker library, just to show you how easy it can be.
The Notepad sample application is open sourced and available here.
New Versions of Google Analytics SDK for Android and iOS:
Version 1.4 for iOS and version 1.4.2 for Android.
"iOS received a new method, dispatchSynchronously, that blocks while it dispatches hits. It won't return until the hits sent have either been acknowledged by the Google Analytics servers or the specified timeout period has elapsed. This provides a more reliable method for sending hits before your application terminates or goes into the background," revealed Google.
Also addressed in this release are several memory leaks and crashes reported against the SDK.
The Android SDK will now handle referrals from the Android Market properly. This applies to autotagging as well. Check out the details here.
Google Analytics SDK now available via Android SDK Manager:
You can download the latest versions using the Android SDK Manager instead of checking the website for updates.
Open sourced application for both iOS and Android that exercises all the APIs for Google Analytics that are available to Mobile Application developers.
Mobile Tracking Documentation has moved to a new home and now resides with the rest of the Google Analytics tracking documentation.
Reporting Problems and Feature Requests
Finally, if you are having problems with the SDKs, you can post them on the Google Analytics issues website. "Use the component MobileTracking when entering an issue or looking through the list for issues already reported against the Mobile App SDKs," said Google.