Google Analytics (GA4)

Airbridge supports integration with Google Analytics 4 (GA4). With the integration, you can easily pass data from Airbridge to GA4, allowing you to leverage the attribution data to uncover in-depth insights into how users interact with your product in GA4.

Attention

Only apps registered in your GA4 account can be integrated with Airbridge.

Integration Setup

Once the integration with Airbridge is complete, the Target Events and their properties collected by Airbridge can be sent to GA4.

Pre-setup for Integration

Code snippets must be added to the AIrbridge SDK as described in the following article in the developer’s guide.

If this pre-setup is not completed, Airbridge cannot be successfully connected to GA4 even if you enable the integration in the Airbridge dashboard.

Finding the credentials in GA4

Attention

Make sure the required code snippets are added to the Airbridge SDK before taking the steps described below. If this pre-setup is not completed, Airbridge cannot be successfully connected to GA4 even if you enable the integration in the Airbridge dashboard. Refer to the developer’s guide to complete the pre-setup.

To implement the integration with GA4, the following credentials must be provided to Airbridge.

  • Firebase App ID

  • Measurement Protocol API Secret

The credentials differ for Android and iOS apps. Follow the steps below to find the credentials in GA4.

1. Log in to your GA4 account, click the [gear] icon, and select Data stream.

2. If you don’t have registered your app, select Android App or iOS App to register your app. If you have both Android and iOS apps, register them separately. For detailed instructions, refer to this article from GA4.

3. Once your app is registered in your GA4 account, select the app you want to integrate with Airbridge from the list.

4. Copy and save the FIREBASE APP ID somewhere safe. Then, select Measurement Protocol API secrets.

5. If there is no existing API Secret, click Create to create a new secret.

6. Copy the new secret and save it somewhere safe. If you have both Android and iOS apps, you need to find and save the credentials for each OS separately.

Configuring the integration details in Airbridge

1. Log in to your Airbridge account, navigate to [Integrations]>[Third-party Integrations], and select Google Analytics.

2. Click the + Add Connection (App).

Attention

Multiple connections can be added, but only 1 connection can be activated for your app. Therefore, the credentials for both Android and iOS apps must be entered on the same connection information page.

For example, if you have entered only the iOS app credentials to a connection and want to integrate the Android app later, the Android app credentials must be added to the same connection information page. Refer to this section of this article for more details.

3. Enter the connection name and enter the GA4 credentials per app OS. If you have both Android and iOS apps, enter both credentials. The connection names must be unique.

4. Select the Airbridge events you want to send to GA4. The Install (App) event is selected as default, and the Deeplink Open (App) and Deeplink Pageview (App) event is optional. The two events are reported as custom events in GA.

5. Select the Airbridge event properties you want to send to GA4. Click Select all or Clear all button to select or clear all properties at once.

6. If there are events and properties you don’t want to send, click the + Add Rule button to set the data delivery rule. Setting the delivery rule is not mandatory and can be skipped.

7. To add a delivery rule, click + Add Rule, enter a unique name for the rule, and select the events or properties you don't want to send to GA4.

Select the conditions for the selected events and properties again on a per-event or per-property basis. You can add multiple conditions for a rule. For example, if you set the delivery rules as shown in the image below, Airbridge will not send the Install (App) events to GA4 where the Channel is example_channel, and the Campaign is not example_campaign.

However, if you want to set different conditions for events or properties that you don't want to send, you must add two or more rules separately.

8. Once you have added all delivery rules, click Add Connection. Note that the events that are used for configuring the delivery rules cannot be unchecked from the events selector in the [Select Events] step. You must first delete the relevant delivery rule if you don’t want to send certain events.

9. Once the connection is added to the list, the status toggle is switched off by default. To activate the connection, switch on the toggle.

Or, when the status toggle of all connections are switched off, you can click the connection name of which you want to activate and click Activate to initiate the data delivery from Airbridge to GA4. Once the connection is activated, the connection status tag that appears next to the connection name will change to Active.

Supported features

Edit connection settings

Click the connection name to edit its settings, regardless of whether it is active or not. You can edit the event schema, delivery rules, and connection info. Be cautious when editing the connection settings of an active connection, as unintended events and event properties may be sent to GA4.

Managing connections

Using Airbridge Data in GA4

Once the integration is successfully implemented, Airbridge data is made available in GA4. Refer to the information below to learn how to use Airbridge data in GA4.

Attention

Was this page helpful?

Have any questions or suggestions?