Integrate Superwall with Airbridge to analyze subscription metrics alongside your campaign performance.
Configure your SDKs to correctly identify and count Superwall events in Airbridge.
This setup requires code changes. Ask your developer for help.
This enables Airbridge to match Superwall events to the correct device.
Retrieve the Airbridge Device ID from the Airbridge SDK by calling fetchDeviceUUID. For platform-specific instructions, see this article.
Pass the Airbridge Device ID to Superwall by calling setIntegrationAttributes. For platform-specific instructions, see the Superwall documentation.
This enables Airbridge to match Superwall events to the correct user.
Set the user ID in the Airbridge SDK by calling Airbridge.setUserID. For platform-specific instructions, see each platform’s SDK article. Following are Android and iOS articles:
Set the user ID in the Superwall SDK by calling setUserAttributes. For platform-specific instructions, see the Superwall documentation.
Attention
When calling
Airbridge.setUserID, use the same user ID you set in this third-party platform.
Once set, the user ID is included as the externalUserID field in event data that Superwall sends to Airbridge.
To avoid counting events twice, configure the Airbridge SDK not to collect events that Superwall sends to Airbridge.
Follow the steps below to set up the integration.
Attention
Before proceeding, make sure you’ve completed all of the following:
The Airbridge Device ID is passed to Superwall.
The same user ID is set in both the Airbridge and Superwall SDKs.
The Airbridge SDK is configured not to collect events that Superwall sends to Airbridge.
Find the following credentials in the Airbridge dashboard:
Airbridge Subdomain
Airbridge Token
Go to [Integrations]>[Third-party Integration] and select Superwall.
Copy the Airbridge Subdomain and Airbridge Token. You'll paste these into the Superwall dashboard in the next step.
In the Superwall dashboard, click [Integrations] in the left sidebar.
In [Integrations], click Create Webhook.
Paste the Airbridge Subdomain and Airbridge Token you copied from the Airbridge dashboard into their corresponding fields.
Under [Events to Listen For], select the events to send to Airbridge. For details, see the mapping table below.
Click Create Webhook to complete the integration.
Superwall and Airbridge events are pre-mapped as follows.
Note the following.
To measure events collected via server-to-server (S2S) with SKAN, make sure of the following:
Airbridge SDK is 4.8.0 or higher.
In the Airbridge SDK, calculateSKAdNetworkByServerEnabled is set to true. Refer to this article for details.
Superwall event | Airbridge event | Value shown when Event Action is selected as GroupBy |
|---|---|---|
initial_purchase | airbridge.subscribe | initial_purchase |
initial_purchase | airbridge.startTrial | initial_purchase |
renewal | airbridge.subscribe | renewal |
cancellation | airbridge.unsubscribe | cancellation |
uncancellation | uncancellation | - |
expiration | expiration | - |
billing_issue | billing_issue | - |
product_change | product_change | - |
subscription_extended | subscription_extended | - |
subscription_paused | subscription_paused | - |
non_renewing_purchase | non_renewing_purchase | - |
Was this helpful?