Follow

Affise <-> AppsFlyer Integration

Time to read: 5 min.

topic.pngThe article covers the following topics:

To be integrated with the advertiser on Appsflyer, please sign as an Ad Integrated partner via this link: https://www.appsflyer.com/get-started/partners

If you currently have an integration with AppsFlyer contact their team at partners@appsflyer.com

To start the integration, you must send AppsFlyer both the Basic Tracking URL and the Postback URL for reporting purposes.

Basic AppsFlyer Tracking URL 

Basic AppsFlyer Tracking URL should look like:

http://app.appsflyer.com/com.appsflyer?pid=mediaName_int&clickid={clickid}&af_siteid={pid}&af_c_id={offer_id}

import.png No need to fill in the pid=medianame_int, that would be substituted directly by Appsflyer team.

Obligatory Tracking Link Parameters:

&clickid=

{clickid}

Request ID of each user session

&af_siteid=

{pid}

ID of the Affiliate promoting the offer

&af_c_id=

{offer_id}

ID of the offer

click__1_.pngFor more parameters to pass to the Appsflyer, please check the link.

Encryption Key 

If there is a necessity to pass the revenue indicated in Payouts in the offer to the advertiser, who uses Appsflyer, and you don’t want to reveal the actual cost value in the Appsflyer tracking URL, you can encrypt the revenue (“cost” in Appsflyer) value. In order to get in correctly you need to receive a special key from your advertiser. 

import.pngAll Payouts existent in the offer are counted for this macro (both general ones and personal ones).

Put Encryption key in 'Settings' section -> 'Appsflyer' -> 'Encrypted key':

key.gif

Then you will be able to use special {max_incom} macro, that can be attached to the Appsflyer parameter &af_cost_value= in the Tracking URL in the offer:

Screenshot_at_September_4th_2020_-_1.09.03_pm_1.5x.png

This marco is unavailable for using unless you have put the encryption key.

As a result the link looks like that:

https://app.appsflyer.com/id554782625?&clickid={clickid}&af_siteid={pid}&af_c_id={offer_id}&af_cost_model=CPI&af_cost_value={max_income}0&af_cost_currency=USD

click__1_.pngMore information about Encrypted cost is here: Guide on Appsflyer's side

Global Install Postback

Global install Postback URL for iOS example:

https://offers-rocketcompany.affise.com/postback?clickid={clickid}&action_id={eventtime}&custom_field1={idfa}

 Global install Postback URL for Android example:

https://offers-rocketcompany.affise.com/postback?clickid={clickid}&action_id={eventtime}&custom_field2={android_id}

import.pngRight now we support the following samples of the default Admin domain, which is used in Affise Postback URL:

  • http://offers.rocketcompany.affise.com - will be supported until the end of the 2020 year!!!
  • http://offers-rocketcompany.affise.com
  • https://offers-rocketcompany.affise.com

In-App Event Postback

First, you need to receive the In-App event postback is to set up goals in the 'Offer edit' page. Go to the 'Offers' section - > 'Offer edit' page - > 'Payouts' tab:

Screenshot_23.png

click__1_.pngFind out more about how to set up a goal here.

In-App event Postback URL for iOS example:

https://offers-rocketcompany.affise.com/postback?clickid={clickid}&action_id={eventtime}&custom_field1={idfa}&goal={event-name}

In-App event Postback URL for Android example:

https://offers-rocketcompany.affise.com/postback?clickid={clickid}&action_id={eventtime}&custom_field2={android_id}&goal={event-name}

Where &goal={event-name} is the goal you need to create in the Affise system and put it into the goal value cell.

import.png Goal value '1' in the Affise system always refers to the install event. If the goal is not specified in the Postback URL, the conversion will have goal value ‘1’ by default.

Goal Value would refer to the Appsflyer Event Identifier:

appsflyer.png

article.pngYou may also find the following articles helpful:

 If you have more questions on the Integration with AppsFlyer, feel free to contact the AppsFlyer Support Team via the AppsFlyer Help Center.

Written by Anastasia Dziaruhina 

Was this article helpful?
5 out of 9 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.