AppsFlyer
Natalya Yefimenko avatar
Written by Natalya Yefimenko
Updated over a week ago

AppsFlyer is a mobile measurement partner (MMP), a company that helps apps measure campaign performance across advertising marketing channels, media sources, and ad networks.

You can pass clicks and conversions from Reach to AppsFlyer and back, using your tracking URL and a postback link.

Before you begin

Add an integration partner to AppsFlyer

On AppsFlyer, you need to add an integration partner:

  1. Go to Marketplace.

  2. Select Affise Reach as an Ad network.

Screenshot_2023-02-03_at_10.04.36.png (4096×2304) 2023-04-18 at 6.55.21 PM

Set up integration with AppsFlyer

Once you added Reach as a partner, you need to set up tracking.


AppsFlyer attribution link

  1. In the Integration tab, select how to send postbacks for relevant events. In the for users from drop-down, select This partner only.

  2. Enable the In-App event postbacks toggle and select the relevant AppsFlyer events that should create conversions.

    Image-2023-07-04-at-7.31.59-PM

    • AppsFlyer event: add any event you need to track.

    • mapped to partner event: postback value on Reach. 🔎 Read more about events mapping here.

    • for users from: select This partner only.

    • including: select No values & no revenue for fixed payouts.

  3. Save the integration.

  4. On Reach, create the goals to match the AppsFlyer events.

  5. Add payouts for the goals.

  6. On AppsFlyer, update the click attribution link in the Attribution link tab without changing existing parameters.

    1. Add Reach macros and more AppsFlyer parameters if necessary to pass additional information.

      Mandatory parameters for this integration are:

clickid

{click_id}

Unique ID of each click on Reach

af_siteid

{publisher_id}

Unique ID that identifies the publisher that displays the ad

af_c_id

{campaign_id}

ID of the campaign on Reach

c

{campaign_name}

The name of your campaign

pid

medianame_int

A static value. You shouldn't change this.

AppsFlyer attribution link example:

https://app.appsflyer.com/id579961527?pid=affiser10_int&c={campaign_name}&af_siteid={publisher_id}&af_c_id={campaign_id}&af_click_lookback=7d&clickid={clickid}

b. Copy the link.

7. On Reach, set the AppsFlyer attribution link as a tracking URL in Campaigns > a certain campaign > Tracking URLs.

Reach postback

To receive conversions on Reach, you need to get a postback link on Reach and set it up on AppsFlyer. Here you can read about how to get a postback link.


1. On AppsFlyer, go to Profile > Postback management > Default postbacks.

2. Set up your postback in the Install postback URL and In-app event postback URL fields.

Image-2023-07-04-at-7.17.46-PM

3. Add the required fields. You need to use Reach parameters and AppsFlyer macros.

Mandatory parameters and macros are:

publisher_id

{af_siteid}

Publisher ID. Check both Install and In-app.

campaign_id

{af_c_id}

ID of the campaign on Reach. Check both Install and In-app.

click_id

{clickid}

Click ID. Check both Install and In-app.

goal

{event_name}

A name of the event (goal) on AppsFlyer side. Check In-app only.

AppsFlyer 2023-07-07 at 11.31.24 AM

4. Optional. Add custom fields if necessary to pass additional information.

A Reach postback link for AppsFlyer example:

https://psb1.reachaff.com/postbacks?publisher_id={af_siteid}&campaign_id={af_c_id}&click_id={clickid}&custom_field1={oaid}

🔎 You can use one of the custom fields custom_field1 - custom_field8 to receive advertising ID found either on Android or iOS devices. AppsFlyer macros for advertising ID are following:

  • {oaid}: for Android devices

  • {idfa}: for iOS devices

5. Optional. If you work with iOS apps campaigns, it's necessary to do the same setup in Profile > Postback management > Advanced privacy. The only difference is that you don't need to use click ID.

AppsFlyer 2023-07-07 at 12.34.07 PM

Postback example:

 https://psb1.reachaff.com/probattribution?publisher_id={af_siteid}&campaign_id={af_c_id}&goal={event_name}

Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?