ExpoLaunch
Analytics

Google Analytics setup

Create a Firebase account

Visit the Firebase Console and either sign in or create a new account. Firebase dashboard New project button Project setup form

Create a new projects for IOS and Android

You need to create a separate app registration for each platform within the same Firebase project.

1. Create a new project for IOS

  • Enter your iOS app bundle ID (e.g. expo.launch) iOS app step 1 iOS app step 2 iOS app step 3
  • Download the GoogleService-Info.plist file iOS app step 4
  • Place it into the root of your Xcode project directory iOS app config

2. Create a new project for Android

  • Enter your Android package name (e.g. expo.launch) Android app step 1 Android app step 2
  • Download the google-services.json file Android app step 3
  • Move it into your app-level / directory Android app config

You're ready to go!

That's it — your Firebase Analytics setup is complete.

Once connected, analytics events will be sent automatically, and you can start logging custom events using firebaseAnalytics.logEvent(...).

Resources