Airbridge
Airbridge offers an integrated marketing performance analysis for websites and mobile apps by consolidating data collected from multiple devices, platforms, and channels. Using Airbridge's Identity Resolution Engine, you can combine scattered customer identity data from web and app interactions into a unified people-based identity, resulting in more accurate attribution.
Adapty provides a complete set of data that lets you track subscription events from stores in one place. With Adapty, you can easily see how your subscribers are behaving, learn what they like, and use that information to communicate with them in a way that's targeted and effective.
The integration between Adapty and Airbridge operates in two main ways.
- Receiving attribution data from Airbridge
Once you've set up the Airbridge integration, Adapty will start receiving attribution data from Airbridge. You can easily access and view this data on the user's page. - Sending subscription events to Airbridge
Adapty can send all subscription events which are configured in your integration to Airbridge. As a result, you'll be able to track these events within the Airbridge dashboard. This integration is beneficial for evaluating the effectiveness of your advertising campaigns.
How to set up Airbridge integration
To integrate Airbridge go to Integrations > Airbridge, turn on a toggle from off to on, and fill out fields.
First of all set credentials to build a connection between your Airbridge and Adapty profiles. Airbridge app name and Airbridge API token are required.
They both can be found in your Airbridge dashboard in the Third-party Integrations > Adapty section.
Adapty API token field is pre-generated on the Adapty backend. You will need to copy the value of Adapty API token and paste it into the Airbridge Dashboard in the Adapty Authorization Token field.
Events and tags
Below the credentials, there are three groups of events you can send to Airbridge from Adapty
Simply turn on the ones you need.
When subscription-related events happen, Adapty sends events to Airbridge. After receiving them Airbridge sends attribution result information to Adapty. The historical events will be sent in the last 24 hours instead of the real event time
SDK configuration
For the integration, you should pass airbridge_device_id
to profile builder and call updateProfile
as it is shown in the example below:
- iOS (Swift)
- Android (Kotlin)
- Flutter (Dart)
- React Native (TS)
import AirBridge
let builder = AdaptyProfileParameters.Builder()
.with(airbridgeDeviceId: AirBridge.deviceUUID())
Adapty.updateProfile(params: builder.build())
Airbridge.getDeviceInfo().getUUID(object: AirbridgeCallback.SimpleCallback<String>() {
override fun onSuccess(result: String) {
val params = AdaptyProfileParameters.Builder()
.withAirbridgeDeviceId(result)
.build()
Adapty.updateProfile(params) { error ->
if (error != null) {
// handle the error
}
}
}
override fun onFailure(throwable: Throwable) {
}
})
import 'package:airbridge_flutter_sdk/airbridge_flutter_sdk.dart';
final builder = AdaptyProfileParametersBuilder()
..setAirbridgeDeviceId(
await Airbridge.state.deviceUUID,
);
try {
await Adapty().updateProfile(builder.build());
} on AdaptyError catch (adaptyError) {
// handle error
} catch (e) {}
import Airbridge from 'airbridge-react-native-sdk';
import { adapty } from 'react-native-adapty';
try {
const deviceId = await Airbridge.state.deviceUUID();
await adapty.updateProfile({
airbridgeDeviceId: deviceId,
});
} catch (error) {
// handle `AdaptyError`
}
Read more about airbridgeDeviceId in Airbridge documentation.