How Do I Set Up Firebase Analytics for an Apple iOS App?

How Do I Set Up Firebase Analytics for an Apple iOS App?

How Do I Set Up Firebase Analytics for an Apple iOS App?

Who Is This Article For?

  • SoCast Native Apple iOS Mobile App users
  • Clients with a SoCast Mobile App
  • Clients with access to their Google Firebase Account
Important: In 2019, Google began transitioning from Google Analytics to their new system, Firebase. To obtain analytics for your mobile apps, please follow the steps below to add Firebase to your mobile app.

This article will guide you through adding Google’s Firebase Analytics to your SoCast Mobile App for iOS.

Step 1: Create a Firebase Account

  1. Go to https://firebase.google.com/.
  2. Click Sign In in the top right corner.
    Firebase Sign In Screenshot

Step 2: Create a Firebase Project

  1. After signing in, click the white Get Started button to begin a new project.
  2. Enter a name for your project.
    Firebase Project Name Screenshot
  3. Choose whether to enable Google Analytics for this project. If you want analytics, click Continue. To disable, toggle off "Enable Google Analytics."
    Enable Google Analytics Screenshot
  4. Register your email address, select your country, and click Create Project.
Note: Both Google and SoCast recommend enabling Google Analytics for better insights into your app's performance and audience behavior.

Note: A Google Firebase project can contain more than one app. All apps tied to the project will share the same cloud filestore and storage, allowing you to view combined analytics across all apps.

Learn more: Understand Firebase Projects

Step 3: Register Your iOS App with Firebase

  1. In your Firebase project, click the iOS icon to add your app.
    Add iOS App Screenshot
  2. Enter your app's Bundle ID, App Nickname, and App Store ID. Then click Register.
    Register App Screenshot
Note: If you need to find your Apple Bundle ID, go to App Store Connect, select your app, click App Info on the left, and locate your Bundle ID. For more details, see our knowledge base article: Getting Started with iTunes & Google Play.

Step 4: Download the Configuration File

  1. Click Download GoogleService-info.plist. You will need this file for your Firebase iOS configuration.
    Download GoogleService-info.plist Screenshot

Step 5: Skip SDK Installation Steps

  1. When prompted to add a Firebase SDK, you can ignore this step and click Next.
    Skip SDK Step Screenshot
  2. Repeat this for the following screen by clicking Next again.
    Skip Next Step Screenshot

Step 6: Send the Configuration File to SoCast

  1. Return to your Google Console and email your SoCast Onboarding Specialist or Account Manager the GoogleService-info.plist file you downloaded. This file will be attached to the core root of your app.
    Email Configuration File Screenshot

Your Firebase Analytics setup for your Apple iOS app is now complete. If you have any questions or need further assistance, please contact your SoCast representative.