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 TapWyse 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 through Firebase and Google Analytics until you take the time to complete this process.

Before You Begin

Log into the TapWyse Admin Dashboard and go to the Firebase 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 TapWyse 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 TapWyse 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 Tapwyse 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.
  5. A new tab opens to Google Cloud Console. Click Enable.
  6. Back in Firebase, copy the Server Key and paste the value somewhere so that you can reference it later.

5) Add TapWyse As An Editor

  1. Click Users & Permissions.

  2. Click Add Member.

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

6) Save Values In TapWyse Admin Dashboard

  1. Go back to the Firebase Analytics page in your Tapwyse 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! TapWyse 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. 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 Analytics ...
    • How App Analytics Works

      What's The Point? Each TapWyse 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, TapWyse ...
    • How App Navigation Works

      This article will provide detail on the App Navigation portion of a TapWyse mobile app, which includes setup for both the Home Screen and Side Menu. What's The Point? The Home Screen and Side Menu are the two most viewed pages in a mobile app, as ...
    • How Push Notification Analytics Work

      Before You Begin For the basics on Push Notifications, make sure to check out our How Push Notifications Work article. Accessing Push Notification Analytics Push Notification Analytics can be viewed on the Push Notifications history page in the ...
    • How Pages Work

      What's The Point? TapWyse seeks to provide a best-in-class experience for end users with integrated, native, and visually-pleasing apps. In order to accomplish this, app administrators need a way to set up the content of a page in their Admin ...