self.endDate=[NSDate date]; double timeDiff=[_startDate timeIntervalSinceDate:_endDate]; NSLog(@"timeDiff----%f",timeDiff); if([[[GAI sharedInstance]defaultTracker] sendTimingWithcategory:category withValue:timeDiff withname:@"LoadTime" withLabel:category]) { NSLog(@"Succesfully sent load time to GA"); }
以下是控制台中打印的消息.
GoogleAnalytics 2.0b4 -[GAIdispatcher
dispatchComplete:withStartTime:withRetryNumber:withResponse:withData:withError:]
(GAIdispatcher.m:415) DEBUG: Successfully dispatched hit /GAIHit/p479
(0 retrIEs).
如果你有,请提供任何示例代码.
请帮助我提前致谢.
[tracker send:[[GAIDictionaryBuilder createTimingWithcategory:category interval:@((int)(interval * 1000)) name:name label:label] build]]总结
以上是内存溢出为你收集整理的iOS:Google Analytics(分析)用户计时报告未在我的Google Analytics(分析)帐户中更新全部内容,希望文章能够帮你解决iOS:Google Analytics(分析)用户计时报告未在我的Google Analytics(分析)帐户中更新所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)