Batch integration with AppsFlyer

At a glance: Batch, an AppsFlyer integrated partner, is an app analytics, marketing automation and mobile CRM platform.

Batch allows advertisers to maximize user engagement while offering a personalized user experience. The Batch advanced user engagement platform lets you communicate with your smartphone users in a more personalized way, reduce your churn and boost your app ROI. AppsFlyer and Batch combined can help the advertiser to further customize user experience and engagement based on user journey. This means that the advertiser can send specific in-app messages and push notifications based on attribution data such as media source and campaign. Integrating Batch and AppsFlyer is simple and straightforward. 


Some media sources restrict sharing data with third parties. Therefore, postbacks for restricted events won't be sent to this partner, regardless of the configured selection for sending postbacks.

Integrating Batch and AppsFlyer

Setting Customer User ID

In order for Batch to be able to match data from AppsFlyer with its own data, the advertiser must provide the same Customer User ID to both. The Customer User ID is set in the SDK.

It's important that you put a real Customer User ID, and not a placeholder value. A real Customer User ID is a user ID that you use to identify your customers in your own systems.



Set Customer User ID in Batch SDK.



Set Customer User ID in AppsFlyer SDK.


Setting Up Batch

Prerequisite: Before setting up the integration, make sure you contact the partner and open an account with them.

To activate or edit the integration:

  1. To activate: In AppsFlyer, from the side menu, select Collaborate Partner Marketplace.
    To edit: In AppsFlyer, from the side menu, select Collaborate Active Integrations.
  2. Search for the partner and select it.
  3. Click Set up integration. You’re directed to the integration setup page.
  4. In the Integration tab, select the app for the integration and turn Activate partner on.
    Note: The toggle must be on (activated) for as long as you work with the partner.
  5. Complete the configuration using the relevant tabs, as described below.

The Batch configuration only requires the Integration tab. The other four tabs are inactive as they are not required in this integration.

Integration tab

Activate Partner

On the first visit here, you will need to toggle ON the Activate Partner button to enable the setup of the integration tab's parameters. The toggle MUST be ON for as long as you work with the partner.
For more details about partner activation please click here.

General Settings

Before you can set up the integration with Batch, make sure to obtain your Batch Rest API Key and Batch API Key. If not sure, contact Batch for more information.

Once you obtain the two keys, enter each in the relevant field. Under General Settings, put your Batch Rest API Key in the BATCH_REST_API_KEY field and your Batch API Key in the BATCH_API_KEY field.


Default Postbacks

Under Default Postbacks, in the Sending Option drop-down list, select Events attributed to any partner or organic.


Click Save in the bottom right-hand corner of the screen.

Attribution link tab

Attribution Links are not available for Batch.

Cost tab

Cost data is not supported in the integration with this partner.

Ad revenue tab

Ad Revenue is not supported in the integration with this partner.

Permissions tab

Permissions are not available for Batch.

Viewing AppsFlyer data in the Batch dashboard

Once AppsFlyer starts sending install postbacks to Batch, you can view the data in the Batch dashboard and start customizing user engagement according to attribution data.

You can see the data in the Userbase tab of your Batch dashboard.