gpt4 book ai didi

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

转载 作者:搜寻专家 更新时间:2023-10-31 19:37:30 26 4
gpt4 key购买 nike

根据 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 控制台上看不到任何数据。第一个问题是,这些数据应该放在哪里?

其次,我做错了吗?

最佳答案

屏幕参数将伴随向服务器报告的事件,但它们目前尚未显示在开发人员控制台上(至少在我的开发人员控制台中)。在 2016 年柏林 Firebase 峰会上,Firebase 团队先睹为快,您可以看到实时报告的屏幕参数,也可以在崩溃报告中了解导致崩溃的事件和屏幕顺序(峰会 video )

关于swift - Firebase Analytics 上的屏幕跟踪数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40749530/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com