Airbridge supports integration with Braze. With the integration, you can send the attribution data from Airbridge to Braze and leverage the data for effective customer relations management.
To implement the server-to-server integration, the Device ID of the Braze SDK should be set as the device alias of the Airbridge SDK.
Airbridge Android SDK: 2.19.5
Airbridge iOS SDK: 1.18.0
Airbridge React Native SDK: 1.5.0
Airbridge Cordova SDK: 2.0.2
Airbridge Flutter SDK: 3.0.2
Airbridge Unity SDK: 1.9.0
Attention
Once the SDK setup is complete, make sure to complete the required setup process in the Airbridge dashboard to implement the integration successfully.
Add the codes below to the Airbridge SDK. Without adding the codes, Braze won't be properly integrated with Airbridge even if the necessary setup is completed in the Airbridge dashboard.
// MainApplciation.java
@Override
public void onCreate() {
super.onCreate();
// Initialize Airbridge SDK
AirbridgeConfig config = new AirbridgeConfig.Builder("APP_NAME", "APP_TOKEN")
// Make Airbridge SDK explicitly start tracking
.setAutoStartTrackingEnabled(false)
.build();
Airbridge.init(this, config);
// Set device alias into Airbridge SDK
Airbridge.setDeviceAlias("braze_device_id", Braze.getInstance(this).getDeviceId());
// Explicitly start tracking
Airbridge.startTracking();
}
// MainApplication.kt
override fun onCreate() {
super.onCreate()
// Initialize Airbridge SDK
val config = AirbridgeConfig.Builder("YOUR_APP_NAME", "YOUR_APP_SDK_TOKEN")
// Make Airbridge SDK explicitly start tracking
.setAutoStartTrackingEnabled(false)
.build()
Airbridge.init(this, config)
// Set device alias into Airbridge SDK
Airbridge.setDeviceAlias("braze_device_id", Braze.getInstance(this).deviceId)
// Explicitly start tracking
Airbridge.startTracking()
}
// AppDelegate.swift
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]?
) {
AirBridge.setAutoStartTrackingEnabled(false)
AirBridge.getInstance("YOUR_APP_TOKEN", appName:"YOUR_APP_NAME", withLaunchOptions:launchOptions)
if let brazeDeviceID = Appboy.sharedInstance()?.getDeviceId() {
AirBridge.state()?.setDeviceAlias(key: "braze_device_id", value: brazeDeviceID)
}
AirBridge.startTracking()
}
// AppDelegate.m
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
AirBridge.autoStartTrackingEnabled = NO;
[AirBridge getInstance:@"YOUR_APP_TOKEN" appName:@"YOUR_APP_NAME" withLaunchOptions:launchOptions];
[AirBridge.state addUserAliasWithKey:@"braze_device_id" value:Appboy.sharedInstance.getDeviceId];
[AirBridge startTracking];
}
Set autoStartTrackingEnabled
to false
in the airbridge.json.
Braze.getInstallTrackingId(function (error, brazeID) {
Airbridge.state.setDeviceAlias("braze_device_id", brazeID)
Airbirdge.state.startTracking()
})
Set autoStartTrackingEnabled
to false
in the .
AppboyPlugin.getDeviceId(function (brazeID) {
Airbridge.state.setDeviceAlias("braze_device_id", brazeID)
Airbridge.state.startTracking()
})
Set autoStartTrackingEnabled
to false
in the airbridge.json.
BrazePlugin.getInstallTrackingId().then((brazeID) {
Airbridge.state.setDeviceAlias("braze_device_id", brazeID)
Airbridge.state.startTracking()
})
Set Auto Start Tracking Enabled
to false
in the project settings.
string BrazeID = AppboyBinding.GetInstallTrackingId();
AirbridgeUnity.SetDeviceAlias("braze_device_id", BrazeID);
AirbridgeUnity.StartTracking()
The Airbridge dashboard setup must be completed to implement the integration. For detailed instructions, refer to the user guide below.
このページは役に立ちましたか?
// AppDelegate.swift
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]?
) {
AirBridge.setAutoStartTrackingEnabled(false)
AirBridge.getInstance("YOUR_APP_TOKEN", appName:"YOUR_APP_NAME", withLaunchOptions:launchOptions)
if let brazeDeviceID = Appboy.sharedInstance()?.getDeviceId() {
AirBridge.state()?.setDeviceAlias(key: "braze_device_id", value: brazeDeviceID)
}
AirBridge.startTracking()
}
// AppDelegate.m
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
AirBridge.autoStartTrackingEnabled = NO;
[AirBridge getInstance:@"YOUR_APP_TOKEN" appName:@"YOUR_APP_NAME" withLaunchOptions:launchOptions];
[AirBridge.state addUserAliasWithKey:@"braze_device_id" value:Appboy.sharedInstance.getDeviceId];
[AirBridge startTracking];
}
AppboyPlugin.getDeviceId(function (brazeID) {
Airbridge.state.setDeviceAlias("braze_device_id", brazeID)
Airbridge.state.startTracking()
})
Braze.getInstallTrackingId(function (error, brazeID) {
Airbridge.state.setDeviceAlias("braze_device_id", brazeID)
Airbirdge.state.startTracking()
})
BrazePlugin.getInstallTrackingId().then((brazeID) {
Airbridge.state.setDeviceAlias("braze_device_id", brazeID)
Airbridge.state.startTracking()
})
string BrazeID = AppboyBinding.GetInstallTrackingId();
AirbridgeUnity.SetDeviceAlias("braze_device_id", BrazeID);
AirbridgeUnity.StartTracking()