Home / By MMP / AppsFlyer

AppsFlyer tracking link format

The parameters AppsFlyer documents for partner click links, checked 25 Oct 2026.

Short answer

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.

Example link

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}

1Advertiser's MMP
2Your platform's macro style
3Base link
4Parameters
Your tracking link ยท
Base linkPartner IDCampaignAd setCreativeClick IDSub-ID / passthroughDevice ID
Checks
    What each parameter does
    ParameterRoleNote

    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

    ParameterRoleWhat it carries
    pidPartner IDMedia source (pid) (required). Your integrated partner ID, set by AppsFlyer. Don't change it.
    cCampaignCampaign name (required)
    clickidClick IDClick ID (required). Ad network unique click identifier.
    af_siteidSub-ID / passthroughPublisher (site) ID. Max 24 characters.
    af_sub_siteidSub-ID / passthroughSub-publisher or placement
    af_c_idCampaignCampaign ID. Max 24 characters.
    af_adsetAd setAd set name. Max 100 characters.
    af_adCreativeAd name. Max 100 characters.
    af_sub1Sub-ID / passthroughCustom sub 1. af_sub1 to af_sub5, max 100 characters each.
    advertising_idDevice IDGAID (Android). Max 40 characters.
    idfaDevice IDIDFA (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.