Raydar free tools · Link decoder

Decode a link with af_sub1 in it

af_sub1 is the first of five custom slots on an AppsFlyer link. Paste the link to see what the advertiser put in each af_sub value, next to pid and the campaign.

Example: https://app.appsflyer.com/com.greatapp?pid=airpush_int&c=RedBanner&af_siteid=A1b1&af_sub1=1.5&af_sub2=USD&af_sub3=burst_campaign

Five slots, 100 characters each

AppsFlyer, the mobile attribution platform, gives every attribution link five spare fields, af_sub1 through af_sub5. Its parameter table describes each one as an "optional custom parameter defined by the advertiser," a string of up to 100 characters. AppsFlyer calls them Subscriber Parameters and says they "can be used to record any useful KPIs." The name says nothing about the contents, so only whoever built the link knows what af_sub1 means on it.

AppsFlyer's own examples

In AppsFlyer's sample link, af_sub1=1.5&af_sub2=USD&af_sub3=burst_campaign spreads a number, a currency code and a campaign label across three slots. In AppsFlyer's FAQ, Linda, a mobile marketer at a ride-hailing app called Luber, wants to know which of three creative colors brings in more installs. She adds &af_sub3=blue to the links on every blue ad across all her non-self-reporting media sources, does the same for yellow and red, then compares the three values in the raw data reports and keeps the color that converts best.

af_sub versus a made-up parameter

An advertiser can also bolt on any key they like, such as AppsFlyer's example my_custom_param=my_custom_value. AppsFlyer says custom parameters "don't appear in raw data" and have to be retrieved through its get conversion data SDK API, while af_sub values "get parsed and appear in the raw data report," which makes them usable for grouping and filtering.

Characters, case and your copy of the link

AppsFlyer bans a long list of characters from parameter keys and values, among them ; * ! @ # ? $ : = + and brackets, and it caps the whole URL at 2,000 characters. Casing has to stay consistent, since AppsFlyer warns that mixed casing across links can cause data discrepancies. For the person tapping the link, af_sub1 holds whatever label the advertiser chose, and deleting it only drops that label from their report. The media source itself is in pid, and the link decoder lists the other parameters it recognizes.

Questions

What are af_sub1 to af_sub5 in AppsFlyer?

They are five optional custom parameters on an AppsFlyer attribution link. The advertiser decides what each one holds, up to 100 characters, and AppsFlyer parses the values into its raw data reports.

What is the difference between af_sub and a custom parameter?

af_sub values appear in AppsFlyer's raw data reports, so they can be used to aggregate and filter. Other custom parameters an advertiser adds do not appear in raw data and have to be retrieved through AppsFlyer's conversion data SDK API.

Does af_sub1 always mean the same thing?

No. AppsFlyer leaves each slot to the advertiser. In its own examples af_sub1 holds 1.5 and af_sub3 holds a campaign label or a creative color, so the meaning depends on who built the link.

Related parameters: oly_enc_id · fbclid · gclid · utm_source

Give your bio link a brain.

Build your page, watch who converts, free to start.

Get started free

No card required.