简体   繁体   English

Firebase 分析安卓应用

[英]Firebase analytics android apps

When implementing fire base analytics in android apps do i need to add any codes in the app side or is it enough to enable it in firebase console only.在 android 应用程序中实现 fire base 分析时,我是否需要在应用程序端添加任何代码,或者仅在 firebase 控制台中启用它就足够了。 Does it same in ios在ios中是否一样

You should add Firebase SDK to your app.您应该将 Firebase SDK 添加到您的应用中。 see this link: Firebase android setup page请参阅此链接: Firebase android 设置页面

For ios you should add Firebase configuration file to your project, then add Firebase SDK to the app and then you should initialize it.对于 ios,您应该将 Firebase 配置文件添加到您的项目,然后将 Firebase SDK 添加到应用程序,然后您应该初始化它。 detailed instructions can be found here: Firebase ios setup page可以在此处找到详细说明: Firebase ios 设置页面

如果您只需要常规分析,例如安装次数、卸载次数、清除缓存等,但如果您想要特定分析,例如访问特定页面的用户数量,则必须在 firebase 中创建一个事件并为该事件编写代码。

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

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