> ## Documentation Index
> Fetch the complete documentation index at: https://docs.almedia.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AppsFlyer

> Configure AppsFlyer to attribute and report on Almedia Link activity.

Everything below happens inside your **AppsFlyer** dashboard. Almedia appears there as the
partner **Almedia GmbH** — no SDK work is involved, so this can be completed before or in
parallel with the engineering integration.

> [!NOTE]
>
> Screenshots show the AppsFlyer dashboard as it looked when this guide was written. AppsFlyer
> moves things around from time to time; the setting names are the reliable part, not the exact
> position on screen.
>
> Click any screenshot to enlarge it.

## Add Almedia as a partner

Search for **"Almedia GmbH"**.

![The Almedia GmbH partner card in AppsFlyer, listed as an Ad network with Retargeting, Cost and Ad revenue capabilities.](https://mintcdn.com/almedia-c3396e23/SubOX1CPUdDnozxJ/images/mmp/appsflyer/almedia-gmbh-partner.png?fit=max\&auto=format\&n=SubOX1CPUdDnozxJ\&q=85\&s=dc6cddf382c4244bf14179464079bb85)

Almedia GmbH in the AppsFlyer partner directory.

## Grant Almedia access

Grant access to your POC's `@almedia.co` email address.

## Open the integration

Go to **Collaborate → Active Integrations → Integration**.

> [!WARNING]
>
> **IMPORTANT:** Make sure to turn off **Advanced Privacy** for the **iOS App**.

![The Almedia GmbH integration page in AppsFlyer, with Collaborate and Active Integrations highlighted in the sidebar and Advanced Privacy for iOS 14.5+ set to OFF.](https://mintcdn.com/almedia-c3396e23/SubOX1CPUdDnozxJ/images/mmp/appsflyer/advanced-privacy-off.png?fit=max\&auto=format\&n=SubOX1CPUdDnozxJ\&q=85\&s=d5ba0a781e590ab003c2ba52e14297c4)

AppsFlyer → Collaborate → Active Integrations → Almedia GmbH → Integration.

## Set the in-app event postback window

Set up the **"In-app event postback window"** as `180` days.

![The AppsFlyer in-app event postback window control, switched on and set to 6 months.](https://mintcdn.com/almedia-c3396e23/SubOX1CPUdDnozxJ/images/mmp/appsflyer/in-app-event-postback-window.png?fit=max\&auto=format\&n=SubOX1CPUdDnozxJ\&q=85\&s=9cf886137a9d3c6ecca6738bb42db093)

The in-app event postback window, set to 6 months.

## Turn on ad revenue and install postbacks

* Activate **"Access ad revenue raw data"**.
* Enable the `install` postback from **"all media sources, including organic"**.

![The AppsFlyer Default postbacks section, with the Install event's audience dropdown open on All media sources, including organic.](https://mintcdn.com/almedia-c3396e23/SubOX1CPUdDnozxJ/images/mmp/appsflyer/install-postback-all-media-sources.png?fit=max\&auto=format\&n=SubOX1CPUdDnozxJ\&q=85\&s=437d08b8c16f0469f6f332f9981b6b6b)

Default postbacks — set Install to all media sources, including organic.

## Enable the events

Please enable the following standard events, and other events that you would like to share
with us:

```text Standard events theme={"theme":{"light":"github-light","dark":"night-owl"}}
install
af_purchase
af_ad_revenue
af_app_opened
```

## Cost reporting

We support the following two options:

* **AppsFlyer Cost API (ROI360)** — please reach out to your AppsFlyer manager to confirm
  availability and enable this integration.
* **Direct Cost API integration to your BI** — if you prefer this option, please let us know so
  we can send you Cost API documentation, along with your API ID and Key.

![The Cost tab of the Almedia GmbH integration in AppsFlyer, with the Get cost data toggle switched on.](https://mintcdn.com/almedia-c3396e23/SubOX1CPUdDnozxJ/images/mmp/appsflyer/cost-data.png?fit=max\&auto=format\&n=SubOX1CPUdDnozxJ\&q=85\&s=0460dc8c7b2b6b4246a06a9480234e30)

AppsFlyer → Almedia GmbH → Cost.

> **[AppsFlyer documentation](https://support.appsflyer.com)**
>
> AppsFlyer's own documentation, for anything specific to their platform.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.