Article

S2S – Appsflyer

AppsFlyer is a mobile attribution platform. Combined with Affilae Server-to-Server tracking, it lets you track the app installs and in-app events generated by your affiliates.

The principle is simple: Affilae collects the click through its redirection link, and AppsFlyer then automatically sends conversions back to Affilae.

Prerequisites: your program’s URL format must be set to Server-to-Server (S2S), in Configuration then Global Settings. This setting switches tracking links to redirect mode and validates conversions server-side. You also need admin access to your AppsFlyer account.

How it works

  • The click is collected through the Affilae redirection link.
  • The conversion is sent automatically by AppsFlyer to Affilae.

Step 1, configure AppsFlyer

Add Affilae as a partner

  1. In AppsFlyer, open the Partnerships section.
  2. Add Affilae as a new partner.

AppsFlyer guide: set up an integrated partner.

Searching for Affilae in the AppsFlyer partner list
Affilae in the AppsFlyer integrated partner list.

Configure each app, iOS and Android

  1. Add an Affilae Key in the app general settings.
  2. Check that this key matches the events you want to track.

Set up events

  1. List every event to be tracked: install, purchase, and any other useful event.
  2. Associate each event with the correct Affilae key.

AppsFlyer guide: in-app event postback configuration.

Retrieve the OneLink

  1. In AppsFlyer, open Attribution Link.
  2. Copy the OneLink. It looks like the example below.
https://app.appsflyer.com/com.appsflyer.adNetworkTest?pid=affilae2_int&af_siteid={affiliateId}&af_c_id={programId}&af_click_lookback=7d&clickid={ClickID}
The AppsFlyer Attribution Link screen, where the OneLink is retrieved
The AppsFlyer Attribution Link screen, where the OneLink is copied.
OneLink parameters in AppsFlyer
The OneLink parameters in AppsFlyer.

Step 2, configure Affilae

  1. In Affilae, open Configuration.
  2. Open the Global Settings section.
  3. Open URL tracking management.
  4. Paste the AppsFlyer OneLink.

Step 3, the final test

  1. Test a click on mobile.
  2. Check that AppsFlyer receives the click.
  3. Install the app and trigger an event.
  4. Verify that the data reaches Affilae.
Tip: do not test the install only. Trigger at least one purchase event, because it is the match between the event and the Affilae key that decides the commission.

Related articles

Frequently asked
questions

Because S2S switches tracking links to redirect mode, and it is that redirection that lets Affilae collect the click before handing over to AppsFlyer. The setting is on the URL format field, in Configuration then Global Settings.

In AppsFlyer, open Attribution Link and copy the link. It contains the pid, af_siteid, af_c_id, af_click_lookback and clickid parameters.

It connects an AppsFlyer event to Affilae. You add this key in the general settings of each app, iOS and Android, then associate it with every event you want to track, install, purchase or other.

Yes. The configuration is done app by app. Each app gets its own Affilae Key and its own event setup.

Run the test again in order: the click on mobile, its reception in AppsFlyer, then the install and the event trigger. Also check that the OneLink pasted into Affilae is the one for the app you are testing.

Yes. Once the integration is in place, AppsFlyer sends conversion data to Affilae without any action from you. All you have to do is check that they appear in your program.

Need help?

Stay up to date with the latest trends in affiliate marketing and never miss any of our articles.

Contact Us