Google Analytics

Integrate Google Analytics and track events from your app
With the Google Analytics integration, you'll be able to track app events and analyze how your users are using the app.
In order to integrate this feature, you'll need to create a Firebase project.
This feature is available for the Business App plan. Also, you'll need to create an app bundle and publish it to start tracking events. Alternatively, you can upload your iOS bundle to Testflight or create a debug APK to test this feature without publishing the app.
Follow the steps below to start using this feature in your apps!

1. Configure your Firebase project

If you already have connected a Firebase project to your app, you can jump to this step.
First, create a new Firebase project. You'll need to have a Google account, or create a new one.

Create a new project

When creating a new project, select the option "Enable Google Analytics":
After accepting the terms, you'll be redirected to the overview page. Here, you'll need to create one app for Android and another one for iOS. To do that, click on the icons shown in the home page:
In the Register App step, you'll need to fill in the bundle ID (iOS) or package name (Android) for your app. These need to match with the ones you've indicated in the Publish section of your Bravo app project.
After registering the app, download the configuration files (GoogleServices files) for both the Android and iOS apps, since you'll need to add them into Bravo.

Enable Google Analytics

In case you selected Enable Google Analytics when creating the Firebase project, you can skip this section.
To enable Google Analytics in your Firebase project, go to Analytics -> Dashboard. Here, click on Enabling Google Analytics.
In the first step, select Default account for Firebase. In case you already downloaded the Google Services files for your Android and iOS apps, you can skip the second step.
Now the Firebase setup is ready! To start using analytics in your app, jump to the next section to see how to set up your Bravo project.

2. Setting up Google Analytics in your Bravo app project

First, upload the two Google Services files for iOS/Android in the Integrations -> Firebase Config section of your app project, in case you haven't done that yet. You'll need to upload the files in the final app section. Analytics can't be tested on Bravo Vision.
Now, go to Integrations -> Analytics and enable Firebase Analytics.

3. Create new app bundles

After setting up the analytics feature, you'll need to create new app bundles for iOS and Android. In case you haven't created them yet, follow the Publication section to learn how to do that.
Once the app bundles are live, you should be able to start tracking analytics for your app in your Firebase project!