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.

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.


  • AppsFlyer Account - This Braze integration is only available to AppsFlyer customers.
  • Braze Data Import Key and REST Endpoint - This integration invokes the braze /users/track/ endpoint to function.
  • SDKs Integrated - The Braze SDK and AppsFlyer SDK must be integrated into your app

AppsFlyer and Braze Cohort Import

The following describes the Braze and AppsFlyer Audiences integration for importing cohorts into Braze. This integration supports iOS and Android apps. If you are looking for information about passing AppsFlyer attribution data to Braze, you can find it here.

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:

Map<String, Object> brazeData = new HashMap<>();
partnerData.put("external_user_id", "some-braze-external-id-value");
AppsFlyerLib.getInstance().setPartnerData("braze_int", brazeData);
NSDictionary *brazeInfo = @{
[[AppsFlyerLib shared]  setPartnerDataWithPartnerId:@"braze_int" partnerInfo:brazeInfo];

Step 2: Get the Braze Data Import Key and REST Endpoint

In the Braze platform:

  1. Navigate to Integrations > Technology Partners, and select AppsFlyer.
  2. In the Data Import Using Cohort Import section at the bottom of the page, click Generate New Key to generate your Data Import Key.
  3. Copy this key and the REST endpoint to use when configuring a Braze connection in AppsFlyer Audiences.


Step 3: Configure a Braze Connection in AppsFlyer Audiences

In the AppsFlyer platform, within AppsFlyer Audiences:

  1. Go to the Connections tab and click Add partner connection.
  2. Select Braze as the partner and give the connection a name.
  3. Enter the data import key and the REST endpoint you copied from your Braze account in step two.
  4. Save the connection, and it will be available to link to any new or existing audience.


Learn more about working with partner connections in the AppsFlyer documentation.

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.


New Stuff!