繁体   English   中英

Flurry Analytics设置

[英]Flurry analytics setup

我正在尝试将Flurry集成到我的计算机中。 在AppDelegate.m中,我有以下内容:

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

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

- (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的个人资料中我没有关于我的应用程序的任何信息。 有空的会话列表,空的事件列表等。我试图等待一个小时,用另一个键制作另一个应用程序-它对我不起作用。 我究竟做错了什么?

您的设置正确。 我有logEvent:最多需要3个小时才能在线显示。 似乎其他人也有同样的问题,甚至长达24小时。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM