简体   繁体   English

Firebase Analytics何时跟踪我的用户?

[英]When does Firebase Analytics track my users?

I'm working on a new version of my app that implements a new online mode, the old offline mode however will still be accessible. 我正在开发实现新在线模式的新版本应用程序,但是仍然可以访问旧的离线模式。 I chose to use Firestore as my database and I just noticed that Google tracks on what VC my users are without me having to set up anything regarding analytics. 我选择使用Firestore作为数据库,而我刚注意到Google跟踪了我的用户使用的VC,而无需我进行任何有关分析的设置。

While calls to Firebase just happen if the user chose to use the online mode I still use the same VC for both modes and that means that even if the user is in offline mode Firebase gets imported. 虽然如果用户选择使用联机模式,只会发生对Firebase的调用,但我仍然为这两种模式使用相同的VC,这意味着即使用户处于脱机模式,也会导入Firebase。 My question is now when it is that google tracks the user on the VC. 我的问题是,当Google跟踪VC上的用户时。 So if the user just gets tracked if the VC makes a call, or as soon as I import Firebase into the VC class. 因此,如果只是跟踪用户是否是VC进行呼叫,或者是在将Firebase导入VC类后立即进行跟踪。 Or stated differently if I will just see the users using online mode in the analytics dashboard, or all my users. 或者换句话说,如果我只是在分析仪表板中看到使用在线模式的用户,或者我的所有用户。

(sorry for my english :) ) (对不起我的英语不好 :) )

Google Analytics for Firebase automatically tracks screen views in your app. Google Analytics for Firebase会自动跟踪您应用中的屏幕浏览量。 You can temporarily disable analytics in your app and then reenable in your code, or you can permanently disable it . 您可以在应用中暂时禁用分析,然后在代码中重新启用,也可以永久禁用它

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

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