Skip to content

Most visited

Recently visited


Make data-driven decisions with Google Analytics for Firebase

Google Analytics for Firebase provides free, unlimited reporting in your app to measure user attribution and in-app activity such as screen views, events, in-app purchases, conversions, and more.

Why it works

Even with detailed user reviews and good community interaction, it can be hard to understand how users interact with your app. For example, it's sometimes hard to know which features are popular and which are rarely used.

By using Google Analytics for Firebase and extending beyond its basic features, you can get a precise picture of how users interact with your app and use those details to trigger data-driven actions with other Firebase features. For example, using Firebase Crash Reporting in Google Analytics for Firebase, you can see the users who suffered a crash. You can then use Firebase Notifications to send them a push notification and track their engagement with analytics.

How to do it

  1. Set up Google Analytics for Firebase by adding the Firebase SDK to your app. Data collection begins automatically.
  2. Log custom data for those events that make sense for your app, such as e-commerce purchases or achievements.
  3. Create audiences that matter to you using the Firebase console.
  4. Use your custom audiences to target messages, promotions, or new app features using other Firebase tools, such as Notifications and Remote Config.
  5. Logs events that correspond to your Firebase Notifications to get reporting on the impact of each campaign.
  6. Use Google Analytics for Firebase audience definitions to change the behavior and appearance of your app for different audiences, without distributing multiple versions, by setting up Firebase Remote Config.
  7. Integrate with other Firebase features, such as Firebase Crash Reporting, to find out the rate of crashes for different versions or regions, allowing you to gain insight into which users are impacted.

Best practices

  • Develop a measurement plan before you release your app so that you’re prepared to analyze your app and adjust it immediately.
  • Track only things that may be useful long term. Tracking the "jump" button in a game, for example, may create data that doesn’t help you make decisions.
  • Get an end-to-end view of how users engage with your app by combining engagement data (such as events) with monetization data (such as transactions).
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)