New Ecommerce Tracking and Validation in the Analytics SDK for iOS

Thursday, July 14, 2011 | 3:36 PM

Labels:

Back in May, we announced Version 1.2 of the Google Analytics SDK for Android.

Today we’re happy to announce that Google Analytics SDK for iOS version 1.2 has been released.  This new version supports Ecommerce tracking as well as the new debug and dry run modes, just like its Android counterpart.

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. See the Google Analytics SDK for iOS 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:

[[GANTracker sharedTracker] setDebug:YES];

With debug mode, all data requests to Google Analytics are sent to the debug console.

Dry Run:

[[GANTracker sharedTracker] setDryRun:YES];

The dry run mode sends all tracking data locally so that you don’t corrupt your production data.  Just be sure to turn it off before releasing your app, otherwise you won’t collect any usage data.