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) Find Server Key

  1. Click the Gear icon to the right of "Project Overview" in the menu on the left.

  2. Select "Project settings".

  3. Select the "Cloud Messaging" tab.

  4. Click Manage API in Google Cloud Console.
    1. Screen Shot 2022-06-03 at 9.43.49 AM.png
  5. A new tab opens to Google Cloud Console. Click Enable.
    1. Screen Shot 2022-06-03 at 9.45.21 AM.png
  6. Back in Firebase, copy the Server Key and paste the value somewhere so that you can reference it later.
    1. Screen Shot 2022-06-03 at 9.47.37 AM.png

5) 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.

6) 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. Paste the Server Key into the last field.

  5. Important! Click Save.

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


    • Related Articles

    • How Firebase/Google Analytics Work

      Before You Begin Make sure you have completed the Firebase setup process outlined in this article (click to view).  If the Firebase page in your admin dashboard (click to view) has the boxes filled in like the below, you are all set: Viewing Firebase ...
    • How App Analytics Work

      What's The Point? Each Gallus custom-branded mobile app has it's own unique subset of users. Since what works in one app may not work in another, tt's vital to take time to monitor performance and gain insights from it. For this purpose, Gallus ...
    • How Mobile Check-In Works

      What's The Point? Mobile Check-In simplifies the process of checking in and paying for a round of golf, freeing up pro shop staff to focus on other duties. It integrates fully with your point-of-sale software and payment processor to charge for the ...
    • How The Analytics Pane Works

      What's The Point? The ultimate measure of any product's success is how many people are using it. Your app is no different, so we at Gallus have created a simple view for you to measure some important KPI's (Key Performance Indicators). Accessing The ...
    • Club Prophet Mobile Check-In FAQ's

      Before You Begin Make sure to have an understanding of Mobile Check-In by reading our How Mobile Check-In Works article. More Information On Mobile Check-In T Please check out the article from Club Prophet's online help center by clicking here. ...