Cake integration with AppsFlyer

At a glance: Ad networks that use CAKE can receive from AppsFlyer attribution data about installs and in-app events.

Base attribution link

Below you can find the base attribution link with a detailed explanation per each parameter:

http://app.appsflyer.com/app_id?pid=mediaName_int&c={campaign}

AppsFlyer Base URL Description

http://app.appsflyer.com

AppsFlyer endpoint

app_id

Application unique ID - Dynamic value changed per app promoted

pid

Media source name include _int to identify integrated network at AppsFlyer servers

c

Campaign name

Recommended attribution link parameters

AppsFlyer Parameter CAKE Macros Description

clickid

#reqid#

Request ID of each user session - Required

af_siteid

#affid#

ID of the Affiliate promoting the offer - Optional

For a complete AppsFlyer parameter list, click here

For a complete CAKE macro list, click here.

Complete attribution link template

http://app.appsflyer.com/com.appsflyer?pid=mediaName_int&clickid=#reqid#&af_siteid=#affid#
target="_blank" rel="noopener noreferrer"

http://app.appsflyer.com/com.appsflyer?pid=mediaName_int&clickid=#reqid#&af_siteid=#affid#

Install and in-app event postbacks

Global install postback

http://{Company-Domain}.com/p.ashx?a=(advertiser_id)&f=pb&r=(#reqid#)&t=(AppsFlyer-transaction-id)

Global in-app event postback

http://{Company-Domain}.com/p.ashx?a=(advertiser_id)&e=(Event-ID)&f=pb&r=(#reqid#)&t=(AppsFlyer-transaction-id)

{Company-Domain} the network ID (domain) name provided by CAKE.
e= 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 complete CAKE postback structure Click Here

AppsFlyer in-app events dashboard

IAEP.png


Additional attribution information can be added to the postback by request such as Country Code, Advertising ID, IDFA, and so on.

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?