简体   繁体   English

使用适用于Android的Google Analytics(分析),重定向到Firebase?

[英]Using Google Analytics for android, redirected to firebase?

I'm trying to add Google Analytics(GA) into my android project. 我正在尝试将Google Analytics(分析)(GA)添加到我的android项目中。 But I couldn't find where to generate a google-services.json file. 但是我找不到在哪里生成google-services.json文件。 (I did generate it in another project before, but it seems that Google remove the link in guides .) (我之前确实在另一个项目中生成过它,但是Google似乎删除了guides中的链接。)

As per developer.android.com blog now google analytics service are deprecated and about to close around 11 April 2019. And as per their document If you have implemented google analytics then migrate to firebase. 根据developer.android.com博客,现在已弃用Google Analytics(分析)服务,并将于2019年4月11日左右关闭。根据他们的文档,如果您已实现google analytics,则迁移到firebase。
And if you are fresh to implement then try firebase. 如果您不打算实施,请尝试使用Firebase。
That document provide all information about your query. 该文档提供了有关您的查询的所有信息。

Steps to implement firebase analytics to your app. 对您的应用实施Firebase分析的步骤。

  1. simply implement firebase analytics just click on android studio's Tools menu. 只需实施firebase分析,只需点击android studio的“工具”菜单即可。
  2. Then select firebase and it show one firebase assistant in your android studio window. 然后选择firebase,它会在您的android studio窗口中显示一个firebase助手。
  3. Select firebase analytics option from them and it show the instruction how to implement it. 从它们中选择Firebase Analytics选项,它显示了如何实施的说明。
    That's it. 而已。 It will tack around just 5 minutes. 仅需5分钟即可完成。

Hope this will help you 希望这个能对您有所帮助

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

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