简体   繁体   English

Android:我可以在Firebase App中使用Google Analytics(分析)

[英]Android: Can I use Google Analytics with Firebase App

Google Analytics is great, and I really want to use it on my Android App. Google Analytics(分析)很棒,我真的很想在我的Android应用上使用它。 But I also need Firebase for user account management and crash reporting. 但是我还需要Firebase来进行用户帐户管理和崩溃报告。

I am confused now that my Android app has google API key (for Analytics) in one place, and google-service.json (for Firebase) in other. 现在我很困惑,因为我的Android应用程序在一个位置具有Google API密钥(用于Google Analytics(分析)),在另一个位置具有google-service.json(用于Firebase)。

Is there any other elegant way to do it? 还有其他优雅的方法吗?

i hope this article could help you 我希望这篇文章能对您有所帮助

Connect Firebase to Google Analytics 将Firebase连接到Google Analytics(分析)

  1. Sign in to your Google Analytics account. 登录到您的Google Analytics(分析)帐户。
  2. Select the Admin tab. 选择管理标签。
  3. In the PROPERTY column, select Create new property from the dropdown menu. 在“属性”列中,从下拉菜单中选择“创建新属性”。
  4. Select Mobile app. 选择移动应用。
  5. Select Firebase Analytics. 选择Firebase Analytics。
  6. Under Connect to Firebase, select the Firebase app you want to connect. 在“连接到Firebase”下,选择要连接的Firebase应用程序。 If you don't see the app listed in the dropdown, make sure you have created it in Firebase first and that you're signed in to the correct Google account. 如果您没有在下拉列表中看到该应用,请确保您首先在Firebase中创建了该应用,并且已登录到正确的Google帐户。
  7. Click Connect app. 点击连接应用。

View your reports 查看报告

  1. Sign in to your Google Analytics account. 登录到您的Google Analytics(分析)帐户。
  2. Select the Admin tab. 选择管理标签。
  3. In the PROPERTY column, select name of the app. 在“属性”列中,选择应用程序的名称。 (In the VIEW column, "all app data" should be selected, once you've selected the name of the app.) (一旦选择了应用名称,就应该在“查看”列中选择“所有应用数据”。)

You'll be taken to your Firebase Analytics reports. 您将被带到Firebase Analytics报告。

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

相关问题 在Android应用中添加Firebase Analytics和Google Analytics - Adding Firebase Analytics and Google Analytics in Android App 在单个Android应用中使用多个firebase帐户进行Google Analytics - Use multiple firebase accounts in single android app for google analytics 使用firebase-core或play-services-analytics在Android应用中添加Google Analytics(分析)? - Use firebase-core or play-services-analytics for adding Google Analytics in android app? 将Google Analytics添加到没有Firebase的Android应用中 - Add Google Analytics to Android app without Firebase 是否可以在Android中将Firebase Messaging与Google Analytics结合使用? - Is it possible to use Firebase Messaging with Google Analytics in Android? 我可以在针对点燃火灾商店发布的应用中使用谷歌分析吗? - Can I use google analytics in an app released for the kindle fire store? 使用 Android 的 Google Firebase 分析 - Google Firebase Analytics With Android Android:我可以在服务中使用Google Analytics(分析)吗? - Android: can I use Google Analytics inside a Service? 适用于 Android 应用程序的 Google Analytics(分析)使用指南 - Which guide to use for Google Analytics for Android app 无法将Google Analytics(分析)集成到我的Android应用中 - Can Not Integrate Google Analytics in my Android app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM