---
updatedAt: 2025-11-11T02:52:13.000Z
agentTools:
  projectIndex: https://docs.webengage.com/llms.txt
---

# AppsFlyer

This integration allows WebEngage to capture attribution event information from AppsFlyer.

## Configuring WebEngage in AppsFlyer

* Log in to your AppsFlyer dashboard and navigate to Integrated Partners through the left panel. As shown below, search for *webengage* and select it from the results.

![](https://files.readme.io/009f125-Screen_Shot_2017-03-23_at_7.12.33_PM.png "Screen Shot 2017-03-23 at 7.12.33 PM.png")

#### Step 1: Activate Partner

As highlighted below, toggle the *Activate Partner* switch under the *Integrations tab* to start sending data to your WebEngage account.

<Image title="WebEngage-Appsflyer-Integration-1.png" alt={936} align="center" src="https://files.readme.io/71c862b-WebEngage-Appsflyer-Integration-1.png">
  Click to enlarge
</Image>

#### Step 2: Configure Default Postbacks

<Image title="WebEngage-Appsflyer-integration-2.png" alt={1991} align="center" src="https://files.readme.io/5cbae2e-WebEngage-Appsflyer-integration-2.png">
  Click to enlarge
</Image>

As highlighted above:

* Select *Install* under **Event Name**.
* Select *Events attributed to any partner or organic* under **Sending Option**.

#### Step 3: Add WebEngage API Key & (Data Center) Region

* **Finding WebEngage API Key:** As shown below, navigate to *Data Platform > Integrations > Rest API* in your WebEngage dashboard. You will find your *API Key* under *Platform Credentials.*

<Image title="finding-rest-api-key.gif" alt={1425} align="center" src="https://files.readme.io/def9254-finding-rest-api-key.gif">
  Click to enlarge
</Image>

* **Adding WebEngage API Key:** As highlighted below, you can add it under the first field, *api\_key*.

<Image title="WebEngage-Appsflyer-Integration-3.png" alt={2030} align="center" src="https://files.readme.io/98951cd-WebEngage-Appsflyer-Integration-3.png">
  Click to enlarge
</Image>

* **Adding Region (of your WebEngage Data Center):** At WebEngage, you can choose to host all your data at three centers - US,  Saudi Arabia or India. By default, all data is stored in our US data center. However, you can choose to host it at our India or Saudi Arabia data center by specifying the same in your contractual agreement.

  * As highlighted above, depending on your data center, add either of the following acronyms in all-caps (as the field, **Region**, is case-sensitive) :
  * IN (for India Data Center)
  * US (for USA Data Center)
  * KSA (for Saudi Arabia Data Center)

> 🚧 Identifying Your Data Center
>
> If your WebEngage dashboard URL starts with, `dashboard.webengage.com` , then it means that you're using our US data center.
>
> If your WebEngage dashboard link starts with, `dashboard.in.webengage.com` , then it means that you're using our India data center.
>
> If your WebEngage dashboard link starts with, `dashboard.ksa.webengage.com` , then it means that you're using our Saudi Arabia data center.

* Click **Save Integration**, and you're good to go!

## Sending Re-Engagement Data of Push Notifications to Appsflyer

Our integration enables a two-way flow between *Appsflyer* and your *WebEngage* dashboard. Here's how you can send re-engagement data for your *Push Notifications:*

**Step 1:** Enable Appslfyer SDK to collect the re-targeting data as shown [here](https://support.appsflyer.com/hc/en-us/articles/207364076-Measuring-push-notification-re-engagement-campaigns?query=push%20notification)

**Step 2:** Enable Re-targeting option under *App Settings* in Appsflyer dashboard and set the appropriate time gap between conversions as shown below:

![](https://files.readme.io/3d105ca-Image1.png "Image1.png")

**Step 3:** Add the following key-value pair under *[Step 3: Message > Key-Value Pairs](https://knowledgebase.webengage.com/docs/creating-push-campaigns#section-key-value-pairs-deep-linking-personalization)* while creating the *Push Campaign.*

> 🚧
>
> `key: af`\
> `value: {"c":"CAMPAIGN_NAME","is_retargeting":"true","pid":"webengage_int"}`
>
> *Replace`CAMPAIGN_NAME` with the name of push campaign.*

![](https://files.readme.io/0dad0a6-Image2.png "Image2.png")

Data will now start appearing on your *Appsflyer's* dashboard as and when users interact with your *Push Notifications.*

![](https://files.readme.io/00a70ff-Image3.png "Image3.png")

Please feel free to drop in a few lines at *<support@webengage.com>* in case you have any queries or feedback. We're always just an email away!