ios - Flurry 分析设置

标签 ios objective-c analytics flurry

我正在尝试将 Flurry 整合到我的 up. 在 AppDelegate.m 我有这个:

[Flurry setCrashReportingEnabled:YES];
[Flurry setDebugLogEnabled:YES];
[Flurry startSession:MY_APP_KEY];

这是我的测试应用中单个 View 的按钮操作:

- (IBAction)pushButton:(id)sender {
   [Flurry logEvent:@"Some event happaned!"];
}

我有所有日志:

2014-05-19 21:30:28.539 FlurryExample[1633:60b] Flurry: startSession called for the first time
2014-05-19 21:30:28.541 FlurryExample[1633:60b] Flurry: Start session called with apiKey[49QXRZRCH3KHZBBGN4CZ]
2014-05-19 21:30:28.541 FlurryExample[1633:60b] Flurry: Starting session on Agent Version [Flurry_iOS_136_5.0.0] 
2014-05-19 21:30:28.542 FlurryExample[1633:60b] Flurry: crash reporting enabled
2014-05-19 21:30:28.547 FlurryExample[1633:60b] Flurry: Trim white space and use apiKey[49QXRZRCH3KHZBBGN4CZ]
2014-05-19 21:30:28.548 FlurryExample[1633:60b] -[FlurryGlobalVariableStorage getPersistentFilePath:]: /Users/mariasaveleva/Library/Application Support/iPhone Simulator/7.1/Applications/49879553-F87C-4C39-98E1-511825EDD96B/Library/Application Support/FlurryFiles/.flurryPropertiesData-1119006019_136.archive
2014-05-19 21:30:28.549 FlurryExample[1633:60b] -[FlurryGlobalVariableStorage getPersistentFilePath:]: /Users/mariasaveleva/Library/Application Support/iPhone Simulator/7.1/Applications/49879553-F87C-4C39-98E1-511825EDD96B/Library/Application Support/FlurryFiles/.flurryCkData-1119006019_136.archive
2014-05-19 21:30:28.551 FlurryExample[1633:60b] initial network status [1] ========= 
2014-05-19 21:30:28.552 FlurryExample[1633:60b] Flurry: Background session enabled[0]
2014-05-19 21:30:28.554 FlurryExample[1633:1303] FlurrySession: Event logging enabled[1]
2014-05-19 21:30:28.554 FlurryExample[1633:1303] FlurrySession: Session reports on close enabled[1]
2014-05-19 21:30:28.554 FlurryExample[1633:60b] Flurry: Finish starting session with apiKey[49QXRZRCH3KHZBBGN4CZ]
2014-05-19 21:30:28.555 FlurryExample[1633:1303] FlurrySession: Session reports on pause enabled[0]
2014-05-19 21:30:28.556 FlurryExample[1633:1303] FlurrySession: Crash reporting enabled[0]
2014-05-19 21:30:28.561 FlurryExample[1633:1303] FlurrySession: Initialized session from scratch with startTime[2014-05-19 17:30:28 +0000]
2014-05-19 21:30:28.561 FlurryExample[1633:1303] FlurrySession: Created active session with API[49QXRZRCH3KHZBBGN4CZ]
2014-05-19 21:30:28.562 FlurryExample[1633:1303] FlurrySession: Session reports on close enabled[1]
2014-05-19 21:30:28.563 FlurryExample[1633:1303] FlurrySession: Session reports on pause enabled[1]
2014-05-19 21:30:28.563 FlurryExample[1633:1303] FlurrySession: Event logging enabled[1]
2014-05-19 21:30:28.564 FlurryExample[1633:1303] FlurrySession: Crash reporting enabled[1]
2014-05-19 21:30:28.565 FlurryExample[1633:1303] FlurrySession: Sending sessions to server, include current NO
2014-05-19 21:30:28.567 FlurryExample[1633:60b] updated network status [1] ======== 
2014-05-19 21:30:28.568 FlurryExample[1633:60b] FlurrySession: networkStatusChanged to  reachable
2014-05-19 21:30:28.572 FlurryExample[1633:1303] FlurrySession: Initial timestamp[2014-05-19 17:22:14 +0000] from secure source
2014-05-19 21:30:28.779 FlurryExample[1633:1303] Flurry: start background task
2014-05-19 21:30:28.782 FlurryExample[1633:1303] FlurrySession: Scheduled send 0 session(s).
2014-05-19 21:30:29.069 FlurryExample[1633:60b] Flurry: HTTP connection delegate received response[<NSHTTPURLResponse: 0xa68c0f0> { URL: http://data.flurry.com/aas.do } { status code: 200, headers {
    Connection = close;
    "Content-Length" = 122;
    "Content-Type" = "application/octet-stream";
    Date = "Mon, 19 May 2014 17:30:29 GMT";
    Server = nginx;
} }]
2014-05-19 21:30:29.070 FlurryExample[1633:1303] FlurrySession: async http response code: 200, id [5EAFDA0C-2A68-4DBF-B74D-E3AE7E7550B2]
2014-05-19 21:30:29.072 FlurryExample[1633:1303] -[FlurryGlobalVariableStorage getPersistentFilePath:]: /Users/mariasaveleva/Library/Application Support/iPhone Simulator/7.1/Applications/49879553-F87C-4C39-98E1-511825EDD96B/Library/Application Support/FlurryFiles/.flurryPropertiesData-1119006019_136.archive
2014-05-19 21:30:29.073 FlurryExample[1633:1303] -[FlurryGlobalVariableStorage getPersistentFilePath:]: /Users/mariasaveleva/Library/Application Support/iPhone Simulator/7.1/Applications/49879553-F87C-4C39-98E1-511825EDD96B/Library/Application Support/FlurryFiles/.flurryCkData-1119006019_136.archive
2014-05-19 21:30:29.074 FlurryExample[1633:1303] Flurry: stop background task
2014-05-19 21:30:32.247 FlurryExample[1633:1303] FlurrySession: Attempting to record Event eventName[Some event happaned!] with parameters[(null)]
2014-05-19 21:30:32.248 FlurryExample[1633:1303] FlurrySession: Event count for eventName[Some event happaned!] updated to count[1]
2014-05-19 21:30:32.249 FlurryExample[1633:1303] FlurrySession: Recording event eventName[Some event happaned!] with parameters[(null)] complete

看起来一切正常,但我在 dev.flurry.com 上的个人资料中没有关于我的应用程序的任何信息。有空 session 列表、空事件列表等。 我试着等了一个小时,用另一个 key 制作另一个应用程序 - 它对我不起作用。 我做错了什么?

最佳答案

您的设置是正确的。我的 logEvent: 最多需要 3 个小时才能在线显示。 Seems others have the same issue, one even up to 24 hrs.

关于ios - Flurry 分析设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23743800/

相关文章:

algorithm - 如何根据过去的观察对数据进行聚类和排序?

python - python日志分析中如何从txt文件中获取数据?

javascript - 具有缩放和滑动器的 React-Native 图像查看器

ios - CocoaPods 报错 pod install HEADER_SEARCH_PATHS

php - 跟踪用户 - 自定义 PHP/MySQL 网站分析

ios - 在NSString中发布两个键值对

objective-c - 是否可以恢复我删除的 xcdatamodel 文件?

ios - 在 CGPoint 处绘制文本

ios - AdMob iOS,在测试设备上展示广告

ios - UIScrollview 不滚动