easytracker的描述如下:

   Use TrackedUIViewController to automatically emit pageviews when the view
// associated with the controller appears.

然后,如果您查看示例,他们将执行以下操作:
#import "EasyTracker.h"

@interface FirstViewController : TrackedUIViewController

但是在我的情况下,界面如下所示:
@interface MyTableViewController : UITableViewController<FBRequestDelegate,
FBDialogDelegate,UIGestureRecognizerDelegate>{
    User *user;
    Fam *fam;
}

我该怎么做才能添加跟踪?

最佳答案

您可以做一个手动屏幕来跟踪
here is google doc


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

关于xcode - 将Google Analytics(分析)easytracker集成到我的iOS应用中,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10545946/

10-09 01:21