This guide describes how to add and configure Firebase and Google Analytics integration.
You can send subscription renewal events as well as non-renewing events to Firebase and Google Analytics.
Due to significant limitations we recommend using this integration only to send events to Google Analytics for product analysis. Once Google updates this API, we will update limitations. Stay tuned.
This integration is in Beta, because Google Analytics API is marked as Beta.
Conversions export to Google Ads is not currently supported.
Viewing events sent in A/B experiment results is not currently supported.
Events are being processed in Firebase & Google Analytics within a few hours (usually 3-6 hours).
Since Firebase SDK automatically tracks in-app purchases when app is running, you may see increased LTV value because it will be a sum of Firebase and Apphud tracked events. Unfortunately, there is no way to disable automatic purchase events collection from Firebase. So keep this in mind when adding an integration.
Apphud iOS SDK 2.2.0 or higher.
Apphud Android SDK 1.2.0 or higher.
Some code is required to properly match users sent from Firebase SDK and Apphud, see instructions below.
You must have at least one event to be successfully sent to Firebase. When event is processed by Firebase, User Properties will appear in desired selection. Keep in mind that events are being processed in Firebase & Google Analytics within a few hours (usually 3-6 hours).
Besides events, Apphud also sends User Properties to Firebase. This helps you to create custom audiences or Custom Definitions and target specific users in A/B tests or view analytics for specific audience. The list of User Properties and its values can be found here.
In order to use User Properties in your analytics you should first assign them to a custom dimension.
Open your Firebase Console > Custom Definitions > Create custom dimensions.
While creating custom dimensions select User scope.
Enter name and description.
Select User Property, for example, apphud_payments_count. Click Save.
In order to create custom audience using Apphud User Property you should first create Custom Dimension. See instructions above.
After creating a custom dimension, you can create custom audiences.
Open your Firebase Console > Audiences > Create custom dimensions.
Select Custom > your custom dimension name, for example, apphud_total_spent
Edit condition on this property, for example, > 0. Click Save.
Custom Audience is now available in both Firebase and Google Analytics.
View Firebase A/B test results in Apphud
You can view results of A/B tests in Apphud by sending remote config values to our service. You will be able to add filter of your test variant for every chart including cohort chart.