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 3rd parties. AppsFlyer cannot share user-level data of users acquired through these media sources with 3rd party platforms or services. All installs from such media sources are therefore sent as organic.

For more details and a list of media sources that restrict sharing data with 3rd parties, click here.

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 in AppsFlyer dashboard

Go to the dashboard of your app and click on Integrated Partners on the left bar.


Enter Batch in the search field and click on its logo to open the Batch configuration window.


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.