Firebase Analytics    
This topic is assigned to Vick

--Admin--
Feb 20, 2019 10:58 AM
As you may know Google is discontinuing feature updates for Google analytics and introduced new Firebase analytics. Now all new Android apps for which you want to have analytics will need to be added to Firebase. 

Note! You will still be able to use your older Google analytics for which you've already had the UA type IDs.

Let us start by steps.

How to get the latest Firebase analytics for your Android application?

1. Creating the Firebase project

First of all you will have to create a new project in your Firebase section.

2. Add the Application ID to the project

Second, once created you will be able to add to this project your application ID.

In this step you will have to provide the Package Name and Application Name:

3. Download the generated json file

Once done you will have to download the google-services.json file (Needs to be uploaded in Application settings -> Google Analytics):

Next proceed with all steps and then you can skip the last check:

It will be checked after you will integrate fully the Firebase in your app.

NOTE! Make sure to download and upload the json file in separate for each app. For each application once added to Firebase you will need to generate a new json file, which will include all package names also the new added one. If you will use the older json file it will not include the new package name from the new app and for it Firebase will not collect any analytics. Json file is added per project and is not created per app. It includes Firebase Analytics and Firebase Cloud Messaging information for all applications added to the current project. As a result all details for all apps from project are kept in one file. If you do add a new application after you have downloaded the json file, you will need to download the latest one holding the information for your new added application. If you do add a wrong json file (which does not include your app package name) the build will fail. That's why we recommend to make sure you have the latest json file which will include your application package name.

4. Uploading the json file

Next uplaod the json file in Application settings -> Google Analytics. Enable the Analytics.

See screenshot for more details:

Now after submission Firebase will collect analytics data.

5. Where to view the analytics?

These details can be viewed in Firebase Console Analytics section.

See screenshot for more details:

In this section you will be able to see all the analytics for your application.

Also you can see statistics for page use by choosing Screen Name or Screen View in the User Engagement section.

The se details can also be viewed in Stream View mode.

You can find the Firebase Cloud Messaging tutorial here for more details about the new Firebase Push Notification system.

Consider to open a Support Ticket if you will have any issues or questions.

THANK YOU FOR USING SEATTLECLOUD!

    1