Follow below mentioned steps to connect Firebase Analytics with your Android Mobile App:
Step 1 : Go to Firebase and Sign in to your account.
Step 2 : Click on Get Started
Step 3 : Click on Create a Project
Step 4 : Enter your project name and tick mark the checkbox to accept terms and conditions
Step 5 : Click on Continue
Step 6 : Enable Google Analytics for your project and click on Continue
Step 7 : Select your desired Analytics location, and tick mark the checkboxes to accept terms and conditions
Step 8 : Click on Create Project
Step 9 : Click on Continue
Step 10 : Click on Android icon
Step 11 : Enter Android Package Name, App Nickname and Debug Signing Certificate. App Nickname and Debug Signing Certificate are optional. If you want, you can leave them
Step 12 : Click on Register app
Step 13 : Download the google-services.json file on your system.
Step 14 : Click on Next
Step 15 : Click on Next
Step 16 : Click on Skip this Step
Step 17 : You will be redirected to your console dashboard and now open the downloaded JSON file in your system.
Step 18 : Here is your Project ID , App ID, Client ID and Current Key. Copy them
Step 19 : Now copy all these keys in their respective fields on the creator software
For connecting Firebase Analytics with your iOS mobile app, please follow this tutorial::