谷歌分析iOS SDK 3.01 App速度无法跟踪

时间:2013-10-01 07:13:24

标签: ios objective-c timer google-analytics

在设备日志中,我正在接收下一个信息

VERBOSE: GoogleAnalytics 3.01 -[GAIBatchingDispatcher persist:] (GAIBatchingDispatcher.m:414): Saved hit: {
        parameters =     {
            "&_u" = ".ojL";
            "&_v" = "mi3.0.1";
            "&an" = My App;
            "&av" = "0.88";
            "&cd" = Home;
            "&cd1" = Paid;
            "&cid" = "279893c8-3fe8-4264-b778-xxxxxxxxxxxxx";
            "&sr" = 320x568;
            "&t" = timing;
            "&tid" = "UA-432xxxx-x";
            "&ul" = en;
            "&utc" = "Get News";
            "&utl" = "Label My App";
            "&utt" = "3.207867980003357";
            "&utv" = "Screen My App";
            "&v" = 1;
            "&z" = 17701255915882718999;
            gaiVersion = "3.01";
        };
        timestamp = "2013-10-01 06:58:02 +0000";
    }

我的代码是下一个:

__weak CategoryCellTVC *weakSelf = self;
dispatch_async(dispatch_get_main_queue(), ^{
    NSTimeInterval interval = [[NSDate date] timeIntervalSinceDate:self.startTime];
    [GAI_DEFAULT send: [[GAIDictionaryBuilder createTimingWithCategory:GA_GET_NEWS
                                                              interval:@(interval)                                                                           name:[NSString stringWithFormat:@"Screen %@", weakSelf.title]
                                                                 label:[NSString stringWithFormat:@"Label %@", weakSelf.title]] build]];




GAI_DEFAULT is - #define GAI_DEFAULT [[GAI sharedInstance] defaultTracker]

0 个答案:

没有答案