Android使用Firebase Analytics和Google Analytics [英] Android Using Firebase Analytics along with Google Analytics

查看:318
本文介绍了Android使用Firebase Analytics和Google Analytics的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想知道如何同时使用Firebase Analytics(FA)和Google Analytics(GA),因为FA从一开始就不提供实时数据,我的应用程序已经与GA集成。我想继续使用GA,因为当我第一次启动我的应用程序时,所有的分析数据都从这里开始。与此同时,我希望我的应用程序已经集成了FA以获取更多信息。

I'd love to know how I can use Firebase Analytics (FA) and Google Analytics (GA) simultaneously as FA doesn't provide real-time data and my apps already integrated with GA since the beginning. I'd like to continue using GA since all my analytic data started there when I first launched my apps. Meanwhile, I'd like to have my apps have FA integrated to get more info.

我跟随一起使用Firebase Analytics和Google Analytics(分析)并设置Google跟踪代码管理器。它似乎并没有为我工作。我确实看到FA仪表板正在更新,但GA中没有任何显示。

I followed Using Firebase Analytics and Google Analytics together and setup Google Tag Manager. It doesn't seem to be working for me. I do see FA dashboard being updated but nothing is showing up in GA.

任何帮助都非常感谢!

Any help is greatly appreciated!

推荐答案

您应该使用在Firebase控制台中为您的应用提供的google-services.json。如果缺少您的Google Analytics跟踪ID,您可以在调用newTracker或字符串资源时手动提供。

You should use the google-services.json that is supplied for your app in the Firebase console. If this is missing your GA tracking ID, you can supply it manually either in your call to newTracker or as a string resource.

这篇关于Android使用Firebase Analytics和Google Analytics的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆