Google Analytics SDK iPhone App
Tracking mobile use is now part and parcel of good web analytics, provided people use the mobile browser to reach your landing pages and surf your site. Some programs for tracking social media metrics make this process more intuitive than others.
To get going with Google’s Analytics SDK for your iPhone app, simply follow these steps:
Download the iOS Developer SDK.
You must have Xcode 3.1 or greater and run Mac OS X 10.5.3 or greater.
Download Google Analytics for Mobile Apps iOS SDK.
Create a new iPhone OS project inside Xcode.
Move (drag) GANTracker.h and libGoogleAnalytics.a out of the SDK Library directory and into your new project.
Make sure that you include CFNetwork framework in your new
Link against libsqlite3.0.dylib by scrolling through the list of Frameworks using Add Existing Framework feature and then clicking that library to add to your project.
After you add the code using the preceding steps, initialize the tracker with the UA-xxxxxx-xx Google Analytics ID for the account.
Grab the downloads you need to work with Google Analytics SDK for iOS and for instruction on some of the more advanced features.