Firebase Analytics in Android

Firebase Analytics,, a free and unlimited analytics tool built from the ground up for mobile apps. Firebase Analytics is at the core of the Firebase platform, providing the insights you need to build successful apps.

SDK automatically captures a number of events and user properties and also allows you to define your own custom events to measure the things that uniquely matter to your business. Once the data is captured, it's available in a dashboard through the Firebase console. This dashboard provides detailed insights about your data — from summary data such as active users and demographics, to more detailed data such as identifying your most purchased items.

Firebase Analytics also integrates with a number of other Firebase features. For example, it automatically logs events that correspond to your Firebase Notifications and provides reporting on the impact of each campaign.
Lets start configuration. You need to complete few steps. Here is reference snap shot that helps you to make configuration done.

Now you got the google-services.json file. what you need to do, please paste this file inside the app folder of your project.

You have to add some dependency and project level and app level. Here is the detail.

Once you click button then your event name -> SELECT_CONTENT will get reported in your Fire base console dashboard. It may delay in reporting you have to wait 24 hours or less. Here is my Tracking events in my firebase DashBoard.

Now you might be having question about the other events like first_open and session_start that already triggered default. So I can say some of events that already reserved. Here are detailsThe following event names are reserved and cannot be used:

app_clear_data

app_uninstall

app_update

error

first_open

in_app_purchase

notification_dismiss

notification_foreground

notification_open

notification_receive

os_update

session_start

user_engagement

You can learn more about other Events Here.. You can add your custom events also.

From the doc "Custom parameters: Custom parameters are not represented directly in your Analytics reports, but they can be used as filters in audience definitions that can be applied to every report. Custom parameters are also included in data exported to BigQuery if your app is linked to a BigQuery project."