How To Add Firebase Analytics To Your Mobile App

How To Add Firebase Analytics To Your Mobile App

This article will walk you through the necessary steps to set up a Firebase account and connect it with your Gallus Golf mobile app.

What's The Point?

Completing this process will enable you to see in-depth analytics about your users and what they're using your app for.
You will not have access to app analytics until you take the time to complete this process.

Before You Begin

Log into the Gallus Golf Admin Dashboard and go to the Analytics section. It will have several pieces of info that you will need- Keep this page open as a separate tab throughout this process:
  1. Firebase Project name
  2. Android Package name
  3. iOS Bundle ID

Follow These Steps:

1) Create A Project In Firebase

  1. Go to https://console.firebase.google.com/
  2. Project name: Refer to the Firebase Analytics page in your Gallus Admin Dashboard. Copy it from there and paste into Firebase:

  3. Make sure to enable Google Analytics. Accept all defaults and click Create Project.


      1. NOTE: If asked which Google Analytics account you would like to use, select Create New Account and name it "Your Course Mobile App" (with your course's name of course). Otherwise, your analytics data could be combined with other existing properties.
  4. Click Continue.

2) Add Android App

  1. Click the Android icon on the project home page where it says Add an app to get started (in the center of the page).

  2. Use the Android Package Name on the Firebase Analytics page in your Gallus Admin Dashboard. Ignore nickname and signing cert. Click Register app. Click Next.

  3. Download Config file (ends in .json). (You will need this later.) Once this is downloaded, click through the wizard...

  4. Click Next.
  5. Click Next (you do not need to Add the Firebase SDK).
  6. On step 4, click Skip This Step at the bottom-right of the page. (There will be a page loading icon, but you do not need to wait for it to complete to click.)

3) Add iOS app 

  1. Click Add App in the middle of the home page.

  2. Click the iOS icon on home page.

  3. Use the iOS Bundle ID from the Firebase Analytics page in your Gallus Admin Dashboard. Ignore nickname and signing cert. Click Register app. Click Next.

  4. Download GoogleService-Info.plist file. (You will need this later.) Once this is downloaded, click through the wizard…

  5. Click Next.
  6. Click Next (you do not need to Add the Firebase SDK).
  7. Click Next (you do not need to Add the initialization code).
  8. On step 4, click Skip This Step at the bottom-right of the page. (There will be a page loading icon, but you do not need to wait for it to complete to click.)


4) Add Gallus Golf As An Editor

  1. Click Users & Permissions.

  2. Click Add Member.

  3. Enter analytics@gallusgolf.com as the email, set the Role to Editor, and click Add Member.

5) Save Values In Gallus Admin Dashboard

  1. Go back to the Firebase Analytics section of your Gallus Golf Admin Dashboard.
  2. Click the file upload button for google-services.json and choose the file you downloaded earlier. The content of the file should appear in the text box.


  3. Click the file upload button for googleService-Info.plist and choose the file you downloaded earlier. The content of the file should appear in the text box.


  4. Important! Click Save.


  5. Done! Gallus Golf will submit your app with the new Firebase setup and notify you when the update is available for users.