# 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="/files/fjNwZMris8Mn1AR0DoH8" 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="/files/EUShPDSE3lb3reBRjFsc" 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="/files/2Q3DyIHwSenRejkLdQm6" 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 😉.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.batch.com/integrations/attribution/how-to-connect-batch-with-adjust.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
