swift – Firebase Analytics上的屏幕跟踪数据

根据Firebase文档,我不需要添加任何内容来记录用户的屏幕查看数据.这是一个直接从文档中摘录的片段:

setScreenName:screenClass:

Sets the current screen name, which specifies the current visual
context in your app. This helps identify the areas in your app where
users spend their time and how they interact with your app.

Note that screen reporting is enabled automatically and records the
class name of the current UIViewController for you without requiring
you to call this method. If you implement viewDidAppear in your
UIViewController but do not call [super viewDidAppear:], that screen
class will not be automatically tracked. The class name can optionally
be overridden by calling this method in the viewDidAppear callback of
your UIViewController and specifying the screenClassOverride
parameter. If your app does not use a distinct UIViewController for
each screen, you should call this method and specify a distinct
screenName each time a new screen is presented to the user.

The screen name and screen class remain in effect until the current
UIViewController changes or a new call to setScreenName:screenClass:
is made.

它已超过24小时,我在Firebase控制台上看不到任何数据.第一个问题是,这些数据应该在哪里?

第二,我做错了吗?

最佳答案 屏幕参数将伴随报告给服务器的事件,但它们当前未显示在Developer Console上(至少在我的开发人员控制台中).在柏林Firebase峰会2016上,Firebase团队对新功能进行了一些预测,您可以实时查看报告参数,并在崩溃报告中了解导致崩溃的事件和屏幕序列(Summit
video) )

点赞