Firebase Analytics    
This topic is assigned to Admin

--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 and iOS 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 and iOS 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.

You can choose Android or iOS application.

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


3. Download the generated json file

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

For iOS The only difference is that there is a .plist file generated and not a json file.


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

for Android - skip the steps 3 and 4

for iOS - skip the steps 3-5

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

NOTE! Make sure to download and upload the json or plist file in separate for each app. For each application once added to Firebase you will need to generate a new json or plist file, which will include all package names or bundle IDs also the new added one. If you will use the older json or plist file it will not include the new package name or bundle ID from the new app and for it Firebase will not collect any analytics. Json and Plist 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 or plist 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 or plist (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 or plist file which will include your application package name or bundle ID.

4. Uploading the .json or .plist file

Next upload the json or plist 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