xcode Flurry 分析,基本分析问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9545456/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 23:31:06  来源:igfitidea点击:

Flurry Analytics, Basic Analytics Issues

iphoneobjective-cxcodeanalytics

提问by Paul Morris

Does anyone have any experience using the basic analytics services with the Flurry Analytics SDK?

有没有人有使用 Flurry Analytics SDK 的基本分析服务的经验?

I have two applications which I am testing this out with. Both are existing apps which I added the Flurry SDK to and set up to track basic events -- the apps were updated and went live in the app store about 16 hours ago. I know there have been users, I myself have used the updated version extensively.

我有两个应用程序正在测试它。两者都是我添加了 Flurry SDK 并设置为跟踪基本事件的现有应用程序——这些应用程序在大约 16 小时前更新并在应用程序商店上线。我知道有用户,我自己广泛使用了更新版本。

The problem is that the Flurry dashboard shows no new users, no events tracked, nothing at all. The only information in my Flurry dashboard is 1 new user which was me testing the service one week again before I submitted to Apple.

问题是 Flurry 仪表板没有显示新用户,没有跟踪事件,什么也没有。我的 Flurry 仪表板中唯一的信息是 1 个新用户,这是我在提交给 Apple 前一周再次测试该服务的信息。

I have the relevant files and library imported in my project for Flurry. In my AppDelegat.m didFinishLaunchingWithOptions method I have:

我在 Flurry 的项目中导入了相关文件和库。在我的 AppDelegat.m didFinishLaunchingWithOptions 方法中,我有:

[FlurryAnalytics startSession:@"MY_APP_KEY"];

When I want to log events I am using:

当我想记录我正在使用的事件时:

[FlurryAnalytics logEvent:@"EVENT_NAME"];

Pretty standard stuff, but it doesn't seem to ever track it or update it. Anyone have any experience with this? How often does it update the web dashboard? Am I doing something totally wrong?

非常标准的东西,但它似乎从未跟踪或更新它。有人对此有经验吗?它多久更新一次 Web 仪表板?我做错了什么吗?

采纳答案by Sailesh

It may sometime take Flurry long before it updates new data initially. When I first set up my app with Flurry, it took hours before my first test data was reflected.

Flurry 在最初更新新数据之前可能需要很长时间。当我第一次使用 Flurry 设置我的应用程序时,我的第一个测试数据需要几个小时才能反映出来。

I'd suggest to wait a bit longer, and if there is still no data, contact the Flurry support.

我建议再等一会儿,如果仍然没有数据,请联系 Flurry 支持。

Actually you can contact them right now and ask for the issues, theres no harm in that. But I guess they are only going to ask you to wait.

其实你现在就可以联系他们问问题,没有坏处。但我猜他们只会让你等。

回答by Antoine Beloeuvre

I faced the same problem when testing Flurry using the simulator or the device from Xcode. The problem was that I was killing the app from Xcode right after testing and sending events, and no data was sent to Flurry server.

在使用模拟器或 Xcode 设备测试 Flurry 时,我遇到了同样的问题。问题是我在测试和发送事件后立即从 Xcode 中终止应用程序,并且没有数据发送到 Flurry 服务器。

Data is only sent to the server when the application goes into background, so press the home button and wait 10 seconds before killing your app.

数据仅在应用程序进入后台时发送到服务器,因此按下主页按钮并等待 10 秒钟,然后杀死您的应用程序。

You can also enable debug log and see when data is sent and if response is correct (http code=200):

您还可以启用调试日志并查看数据何时发送以及响应是否正确(http 代码=200):

[Flurry setDebugLogEnabled:YES];

It can take a couple of hours for data being visible in Flurry reports.

数据在 Flurry 报告中可见可能需要几个小时。

Hope it helps.

希望能帮助到你。

回答by Umair_uas

I am Using flurry in my game. Just wait for 3 or 4 daysand you will see the data.

我在我的游戏中使用了flurry。只需等待3 或 4 天,您就会看到数据。

回答by Kumar KL

I had the same issue and contacted support. They said:

我遇到了同样的问题并联系了支持人员。他们说:

Although the Flurry SDK sends data from the devices to our servers on an almost real-time basis, there could be a delay in reporting ranging from 5 min to 7 hours depending upon the network traffic and the demand on our servers.

Event logs show up within 5-7 minutes of occurrence on the device.

Other metrics could take up to 6-7 hours to get processed and show up.

Hope this clarifies.

尽管 Flurry SDK 几乎实时地将数据从设备发送到我们的服务器,但报告可能会延迟 5 分钟到 7 小时,具体取决于网络流量和我们服务器的需求。

事件日志会在设备上发生后 5-7 分钟内显示。

其他指标可能需要 6-7 小时才能得到处理和显示。

希望这能澄清。

After 5 hours, it's reflected and working fine.

5 小时后,它被反映并且工作正常。

回答by jdt

From my experience it appears Flurry updates at least twice a day. I'm used to Google Analytics updating alot quicker, but I can't complain to much. Flurry is pretty decent as far as Analytics goes.

根据我的经验,Flurry 似乎每天至少更新两次。我习惯了 Google Analytics 更新得更快,但我不能抱怨太多。就分析而言,Flurry 相当不错。

回答by Shamsiddin

I had a same problem too and solved it by replacing all white space characters to underscores in the names of the events and they are appeared after about 5 min.

我也遇到了同样的问题,并通过将事件名称中的所有空格字符替换为下划线来解决它,它们在大约 5 分钟后出现。

Incorrect log

不正确的日志

[FlurryAnalytics logEvent:@"EVENT NAME"];

[FlurryAnalytics logEvent:@"事件名称"];

Correct log

正确的日志

[FlurryAnalytics logEvent:@"EVENT_NAME"];

[FlurryAnalytics logEvent:@"EVENT_NAME"];

This naming agreement is not mentioned in the FlurryAnalytics' documentation but it worked for me.

FlurryAnalytics 的文档中没有提到这个命名协议,但它对我有用。