New Ecommerce tracking and validation in the Analytics SDK for Android

Thursday, May 05, 2011 | 11:19 AM

Labels: , ,

Increasingly, mobile applications allow you to purchase products and virtual goods. For that reason, it’s important to track these mobile transactions in order to understand which products perform well.

So today we’ve added Ecommerce tracking functionality to the Google Analytics SDK for Android.

Ecommerce Tracking
With Ecommerce mobile tracking, you can capture transaction and product information, send the data to Google Analytics, and then analyze which products performed best. Of course, because this is all within Google Analytics, you can also tie transaction data back to app usage behavior. For example, you can now compare the referral that generated an app download by the revenue it generated. See the Google Analytics SDK for Android developer docs to learn how to implement this feature.

Debug and Validation
In addition to Ecommerce, we’ve added new debug and dry run modes to make it easier to validate your Google Analytics implementation.

Debug Mode:

tracker.setDebug(true);

With debug mode, all data requests to Google Analytics are sent to the Android log, allowing you to validate that your app is sending data properly. You can view the Android log using the adb logcat command.

Dry Run:

tracker.setDryRun(true);

The dry run mode sends all tracking data locally so that you don’t corrupt your production data.

See Us At Google IO
We’ll be demoing all this new functionality this year Google IO, so stop by the Optimizing Android Apps With Google Analytics session on May 11, 12:30PM – 01:30PM / Room 9.

Posted by Jim Cotugno, Google Analytics Tracking Team