# How to connect Batch with Adjust?

As you may know, [Adjust](https://www.adjust.com/) is a Mobile Attribution and Analytics service. Their service provides app marketers with a smart business platform, combining measurement for advertising sources on mobile with advanced analytics.&#x20;

The good news is that you can use Adjust attribution data to improve your segmentation within Batch.\
​

## How does it work? 🤔 <a href="#how-does-it-work" id="how-does-it-work"></a>

Callbacks provided by Adjust SDK allow you to sync Adjust data with Batch SDK. When you have implemented the Adjust attribution callback inside your application, you can use Batch segmentation engine to target users based on install source attribution data.\
​

## iOS integration ⚙️ <a href="#ios-integration" id="ios-integration"></a>

After having set up the Adjust attribution callback (iOS [instructions](https://github.com/adjust/ios_sdk#attribution-callback) on callbacks), you simply have to send Batch the appropriate data via the SDK's method.

Here's an example on how you can set the callback in your app code:

<figure><img src="https://2998247023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbwlQFpRAhaFR79zae6Jf%2Fuploads%2F8FxgC6zMDPlMoB9k7e8i%2FAttribution_Adjust_iOS_Integration_07052025.png?alt=media&#x26;token=25c52c28-cc58-4a61-84a7-a5dc3c339c5d" alt="iOS integration"><figcaption><p>IOS integration</p></figcaption></figure>

You can find here [the official GitHub repository](https://github.com/adjust/ios_sdk/blob/4adc5d944dab2b1a55d5b6377cba2acbb4e43e30/doc/english/batch.md).\
​

## Android integration ⚙️ <a href="#android-integration" id="android-integration"></a>

Similarly, you have to set up the Adjust attribution callback (Android [instructions](https://github.com/adjust/android_sdk#attribution-callback)) and sent Batch the attribution data via the SDK's method.

Here's an example of how you can set that callback in your app code:

<figure><img src="https://2998247023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbwlQFpRAhaFR79zae6Jf%2Fuploads%2FTC5dOyqhqJQhNcK5CJRC%2FAttribution_Adjust_Android_Integration_07052025.png?alt=media&#x26;token=84c7e0b7-2f64-48bc-9c34-7e2b0d0e28bf" alt="Android integration"><figcaption><p>Android integration</p></figcaption></figure>

You can find here [the official GitHub repository](https://github.com/adjust/android_sdk/blob/cbc72eb79e0e0aaf02e88b9cd473172cff88992a/doc/english/batch.md).\
​

## What’s next? <a href="#whats-next" id="whats-next"></a>

Now, you can test your integration using our [debug tool](https://doc.batch.com/developer/sdk/ios/profile-data/debug) and find if your attribution data work properly on the Batch dashboard.\
​\
Once the data is well collected, you will be able to specify an installation source and more from the campaign editor:

<figure><img src="https://2998247023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbwlQFpRAhaFR79zae6Jf%2Fuploads%2FFzJPn4b6Ef3WDjLdFXSQ%2FAttribution_Adjust_source_14052025.png?alt=media&#x26;token=4391efb8-09e1-4edf-a174-82ecbd956762" alt="Target using the installation source data"><figcaption><p>Target using the installation source data</p></figcaption></figure>

That's all, you have no excuse not to properly target your users based on attribution now 😉.
