Integrating Google Analytics easytracker in my iOS App

google-analytics, ios5, xcode

Solution

You can do a manual screens tracking here is google doc for it.

Manual Screen Tracking

To manually track a screen view, call trackView: as in the following example:

id<GAITracker> googleTracker = [[GAI sharedInstance] trackerWithTrackingId:@"YOUR-IUD"];
[googleTracker trackView:@"home screen"];

Problem

The description of easytracker it state the following: ``` Use TrackedUIViewController to automatically emit pageviews when the view // associated with the controller appears. ``` And then if you look at the example they do the following: ``` #import "EasyTracker.h" @interface FirstViewController : TrackedUIViewController ``` However in my case the interface look like this: ``` @interface MyTableViewController : UITableViewController<FBRequestDelegate, FBDialogDelegate,UIGestureRecognizerDelegate>{ User *user; Fam *fam; } ``` what should I do to add the tracking?

Original source