Tune (was Hasoffers) integration with AppsFlyer

At a glance. This article is for ad-networks who use the Tune (was Hasoffers) platform to integrate with  the AppsFlyer Probabilistic modeling solution. AppsFlyer sends attribution data to Tune for both install and in-app events.

To initiate the integration send AppsFlyer:

  1. Your attribution link
  2. Your postback (for installs and in-app events)

Creating the attribution link

The attribution link consists of the following AppsFlyer base attribution link and additional macros added by the ad-network.

See the following AppsFlyers base attribution link with a detailed explanation per macro:

AppsFlyer Base URL Description


AppsFlyer endpoint


Application unique ID – dynamic value changed per app promoted


Media source name concatenated with _int to identify integrated networks


Campaign name

See below what the complete attribution link should look like after you have added additional Tune macros:


In the link below af_sub5={offer_id} is added for reporting purposes within Tune.


For the Tune list of macros click here.

Creating your install and in-app event postbacks

See below a step by step explanation on how to create your install and in-app event postbacks in the Tune platform:

  1. Create or select an offer that uses the Postback w/Transaction ID protocol
  2. In the details section of the offer page, click the link that is labeled "tracking"
  3. Copy the postback URL that appears in the box labeled postback URL
  4. Remove the offer_id parameter and value from the postback url to change the postback from a specific postback into a global postback

For more information, click here.

Global Install Postback:


NETWORK_ID is the network ID (domain) name provided by Tune

Global In-App Event Postback:


NETWORK_ID is the network ID (domain) name provided by Tune.

goal_id= Set as Event Tag in the AppsFlyer dashboard for each app by the advertiser - this is the actual in-app event name from the application.

For details of Dynamic Event Mapping for In-App Events, click here.

Finalizing your registration

  1. If you currently have an integration with AppsFlyer contact us at partners@appsflyer.com
  2. If you do not currently have an integration with AppsFlyer, complete the ad Partners Registration application here.
Was this article helpful?