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.
This feature is available for the Advanced and Business App plans. Also, you'll need to create an app bundle with latest Firebase configuration files and publish the app 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!
If you already have connected a Firebase project to your app, you can jump to this step.
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:
Register Appstep, 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
Publishsection 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.
In case you selected
Enable Google Analyticswhen creating the Firebase project, you can skip this section.
To enable Google Analytics in your Firebase project, go to
Dashboard. Here, click on
Enabling Google Analytics.
In the first step, select
Default account for Firebase. Remember to update the Firebase configuration files in Bravo, when you do a change in Firebase configuration, like enabling Firebase Analytics.
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.
- 1.Upload the two Google Services files for iOS/Android in the
Firebase Configsection 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.
2. Go to
If you miss to enable Firebase Analytics in your Bravo app project, Google Analytics will only show limited events from Android phones (none from iOS). To fix this, enable Firebase Analytics in Bravo and Firebase console, update the files in Bravo and generate new builds for both OS.
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!