AppsFlyer Tracking Link Parameters

  • Updated

 

Tracking Link Basic 

Tracking links report user activity with your ad. The activity is reported via a click on your ad or a view.

When a user clicks on an attribution link the user is redirected to download the app. The click triggers a notification to AppsFlyer's server. 

 

Tracking Link Parameters

AppsFlyer tracking links contain the following mandatory information:

    • AppsFlyer endpoint: app.appsflyer.com
    • app_id: Your unique identifier in the AppsFlyer platform. This usually follows the format of ID in the Apple App Store or Google Play. 
    • media_source: Moloco unique partner identifier 

 

Parameter by AppsFlyer Macro value by Moloco Property Description by AppsFlyer OS

af_sub4

%{mtid}

CT,VT

Optional custom parameter defined by the advertiser

 

clickid

%{bid_id}

CT,VT

Ad network unique click identifier

 

pid

moloco_int

CT,VT

Media Source identified by Appsflyer - fixed to moloco_int

 

c

%{campaign}

CT,VT

Campaign name provided by the advertiser/publisher

 

af_c_id

%{campaign_name}

CT,VT

Campaign ID

 

af_siteid

%{raw_app_bundle}

CT,VT

Unique ID that identifies the publisher that displays the ad. Learn more

 

af_cost_currency

%{cost_currency}

CT,VT

3-Letter currency code (ex. USD)

 

af_cost_value

%{cost_amount}

CT,VT

Cost value in selected currency up to 4 digits (ex. 2.85)

 

af_cost_model

%{cost_type}

CT,VT

Pricing model (ex. dCPM)

 

af_ad_type

%{creative_type}

CT,VT

Ad type (text/banner/interstitial/video/rewarded_video/playable/sponsored_conten/audio)

 

af_ad_id

%{creative_id}

CT,VT

Google Advertising ID (ADID)

 

af_ad

%{creative_title}

CT,VT

Ad Name provided by the advertiser/publisher

 

af_adset

%{adgroup_title}

CT,VT

intermediate level in the hierarchy between Campaign and Ad

 

af_adset_id

%{adgroup_id}

CT,VT

Provided by the advertiser/publisher

 

 

advertising_id


 

%{a_idfa} for ANDROID

CT,VT

Unique click identifier for Ad Networks

 
%{i_idfa} for IOS  

af_click_lookback

7d

CT

Lookback window for click attribution (default: 7 days)

 

af_viewthrough_lookback

1d

VT

Lookback window for click attribution (default: 1 day)

 

&af_model

%{device_model}

CT,VT

[For iOS only] The device model. Values permitted:iphone (all lower case)ipad (all lower case) 

IOS Only

&af_os

%{os_ver}

CT,VT

[For iOS only] The device operating system version

IOS Only

&af_sub1

%{skan.version}

CT,VT

Optional custom parameter defined by the advertiser

IOS Only

&af_ip

%{ip_address}

CT,VT

Device ip address

S2S

&af_lang

%{device_language}

CT,VT

Device language and locale

S2S

&af_ua

%{user_agent}

CT,VT

User-Agnet

S2S

 


Click-through Tracking Link Example (Android)

https://app.appsflyer.com/com.appsflyer.adNetworkTest
?af_sub4=%{mtid}
&c=%{campaign}
&af_siteid=%{raw_app_bundle}
&af_ad_type=%{creative_type}
&af_cost_currency=%{cost_currency}
&af_cost_value=%{cost_amount}
&af_ad_id=%{creative_id}
&af_cost_model=%{cost_type}
&af_ad=%{creative_title}
&pid=moloco_int
&af_click_lookback=7d
&clickid=%{bid_id}
&advertising_id=%{a_idfa}
&af_c_id=%{campaign_id}
&af_adset=%{adgroup_title}
&af_adset_id=%{adgroup_id}
&af_ip=%{ip_address}
&af_ua=%{user_agent}

 

 

View-through Tracking Link Example (Android)

https://impression.appsflyer.com/com.appsflyer.adNetworkTest
?af_sub4=%{mtid}
&c=%{campaign}
&af_siteid=%{raw_app_bundle}
&af_ad_type=%{creative_type}
&af_cost_currency=%{cost_currency}
&af_cost_value=%{cost_amount}
&af_ad_id=%{creative_id}
&af_cost_model=%{cost_type}
&af_ad=%{creative_title}
&pid=moloco_int
&af_viewthrough_lookback=1d
&clickid=%{bid_id}
&advertising_id=%{a_idfa}
&af_c_id=%{campaign_id}
&af_adset=%{adgroup_title}
&af_adset_id=%{adgroup_id}

 

Click-through Tracking Link Example (IOS)

https://app.appsflyer.com/id554782625
?af_sub4=%{mtid}
&c=%{campaign}
&af_siteid=%{raw_app_bundle}
&af_ad_type=%{creative_type}
&af_cost_currency=%{cost_currency}
&af_cost_value=%{cost_amount}
&af_ad_id=%{creative_id}
&af_cost_model=%{cost_type}
&af_ad=%{creative_title}
&pid=moloco_int
&af_click_lookback=7d
&clickid=%{bid_id}
&idfa=%{i_idfa}
&af_c_id=%{campaign_id}
&af_sub1=%{skan.version}
&af_model=%{device_model}
&af_os=%{os_ver}
&af_ip=%{ip_address}
&af_lang=%{device_langauage}
&af_ua=%{user_agent}
&af_adset=%{adgroup_title}
&af_adset_id=%{adgroup_id}

 

View-through Tracking Link Example (IOS)

https://impression.appsflyer.com/id554782625
?af_sub4=%{mtid}
&c=%{campaign}
&af_siteid=%{raw_app_bundle}
&af_ad_type=%{creative_title}
&af_cost_currency=%{cost_currency}
&af_cost_value=%{cost_amount}
&af_ad_id=%{creative_id}
&af_cost_model=%{cost_type}
&af_ad=%{creative_title}
&pid=moloco_int
&af_viewthrough_lookback=1d
&clickid=%{bid_id}
&idfa=%{i_idfa}
&af_c_id=%{campaign_id}
&af_adset=%{adgroup_title}
&af_adset_id=%{adgroup_id}

 

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.