Skip to content

AppsFlyer Audiences

AppsFlyer is a mobile marketing analytics and attribution platform that helps you analyze and optimize your apps through marketing analytics, mobile attribution, and deep linking. AppsFlyer Audiences allows you to build and connect audience segments to your partner networks.

The Braze and AppsFlyer integration allows you to drive user engagement and increase the efficiency of your remarketing programs by leveraging the power of the user segments built in AppsFlyer Audiences. Pass your AppsFlyer audiences (cohorts) directly to Braze to create powerful customer engagement campaigns targeted toward just the right users at just the right time.

Prerequisites

Requirement Description
AppsFlyer account An AppsFlyer account is required to take advantage of this partnership.
iOS or Android app This integration supports iOS and Android apps. Depending on your platform, code snippets may be required in your application. Details on these requirements can be found in step 1 of the integration process.
AppsFlyer SDK In addition to the required Braze SDK, you must install the AppsFlyer SDK.

Data import integration

Step 1: Configure the AppsFlyer SDK

To use this integration, you must pass the user’s Braze external ID to AppsFlyer using the setPartnerData() function of the AppsFlyer SDK:

Android

1
2
3
Map<String, Object> brazeData = new HashMap<>();
partnerData.put("external_user_id", "some-braze-external-id-value");
AppsFlyerLib.getInstance().setPartnerData("braze_int", brazeData);

iOS

1
2
3
4
NSDictionary *brazeInfo = @{
     @"external_user_id":@"some-braze-external-id-value"
};
[[AppsFlyerLib shared]  setPartnerDataWithPartnerId:@"braze_int" partnerInfo:brazeInfo];

Step 2: Get the Braze data import key

In Braze, navigate to Technology Partners and select AppsFlyer. Here, you will find the REST Endpoint and generate your Braze data import key. Once generated, you can create a new key or invalidate an existing one. The data import key and the REST endpoint are used in the next step when setting up a postback in AppsFlyer’s dashboard.

The "Data Import Using Cohort Import" box on the AppsFlyer technology page. In this box, you are shown the data import key and the REST endpoint.

Step 3: Configure a Braze connection in AppsFlyer Audiences

  1. In AppsFlyer Audiences, go to the Connections tab and click Add partner connection.
  2. Select Braze as the partner and give the connection a name.
  3. Provide the data import key and Braze REST endpoint.
  4. Save the connection, and it will be available to link to any new or existing audience.

The AppsFlyer audiences platform partner connection configuration page. The lower part of the images shows that the Braze external id box is checked.

Step 4: Using AppsFlyer Audiences cohorts in Braze

Once an AppsFlyer audience has been uploaded to Braze, you can use it as a filter when defining segments in Braze by selecting the AppsFlyer Cohorts filter.

User attributes filter "AppsFlyer Cohorts" selected.

WAS THIS PAGE HELPFUL?
New Stuff!