AppsFlyer tracking link format
The parameters AppsFlyer documents for partner click links, checked 25 Oct 2026.
AppsFlyer partner links start from https://app.appsflyer.com/{app}; the click ID goes in clickid, sub-IDs in af_siteid, af_sub_siteid, af_sub1. Copy the example below or build your own in the generator.
https://app.appsflyer.com/com.example.app?pid=examplenetwork_int&c={campaign_name}&clickid={click_id}&af_siteid={publisher_id}&af_sub_siteid={sub_publisher_id}&af_c_id={campaign_id}&af_adset={adset_name}&af_ad={ad_name}&advertising_id={gaid}&idfa={idfa}
| Parameter | Role | Note |
|---|
Runs entirely in your browser. It builds and checks the link; it does not fire a click or test delivery. Always run a test click before sending traffic.
Parameters
| Parameter | Role | What it carries |
|---|---|---|
pid | Partner ID | Media source (pid) (required). Your integrated partner ID, set by AppsFlyer. Don't change it. |
c | Campaign | Campaign name (required) |
clickid | Click ID | Click ID (required). Ad network unique click identifier. |
af_siteid | Sub-ID / passthrough | Publisher (site) ID. Max 24 characters. |
af_sub_siteid | Sub-ID / passthrough | Sub-publisher or placement |
af_c_id | Campaign | Campaign ID. Max 24 characters. |
af_adset | Ad set | Ad set name. Max 100 characters. |
af_ad | Creative | Ad name. Max 100 characters. |
af_sub1 | Sub-ID / passthrough | Custom sub 1. af_sub1 to af_sub5, max 100 characters each. |
advertising_id | Device ID | GAID (Android). Max 40 characters. |
idfa | Device ID | IDFA (iOS). Upper case, max 40 characters. |
Rules and gotchas
- Total URL length must not exceed 2,000 characters.
- Many symbols are not allowed in parameter keys or values, including ; , * ! @ # ? $ ^ : & ~ = + ' < > / % ( ).
- Retargeting clicks must include is_retargeting=true.
- Only HTTPS is supported for incoming clicks and impressions.
- View-through links use https://impression.appsflyer.com with the same parameters.
Questions
What is the click ID parameter for AppsFlyer?
AppsFlyer partner links carry the click ID in clickid. The MMP returns that value in postbacks so the partner can match each conversion to its click.
Where do sub-publisher IDs go on a AppsFlyer link?
AppsFlyer documents af_siteid, af_sub_siteid, af_sub1 for sub-IDs and passthrough values. Pass each sub-publisher's ID through your platform's macro instead of creating a separate link per sub-publisher.
What is a tracking link?
A tracking link is the URL an ad network or affiliate sends a user through before the app store, so the advertiser's MMP can record the click and match it to the install. It carries the campaign, the partner's click ID and optional sub-IDs.
What is a click ID?
A click ID is a unique value the partner generates for every click and passes on the tracking link. The MMP returns it in the postback, so the partner can match each conversion back to the exact click it paid for.
Does this generator send anything to a server?
No. The generator runs entirely in your browser. It builds and checks the link locally and never fires a click or contacts any MMP.
Why does my final link still show {click_id}?
Your platform did not replace its macro before redirecting the user. MMPs store an unreplaced macro as plain text, so the conversion cannot be matched to your click. Check the macro syntax your platform expects.