AppMetrica tracking link format
The parameters AppMetrica documents for partner click links, checked 25 Oct 2026.
AppMetrica partner links start from https://redirect.appmetrica.yandex.com/serve/{tracking_id}; the click ID goes in click_id, sub-IDs in afpub_id, site_id. Copy the example below or build your own in the generator.
https://redirect.appmetrica.yandex.com/serve/1234567890123456789?click_id={click_id}&afpub_id={publisher_id}&site_id={sub_publisher_id}&creative_id={creative_id}&google_aid={gaid}&ios_ifa={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 |
|---|---|---|
click_id | Click ID | Click ID (required). Required. Used for deduplication. |
afpub_id | Sub-ID / passthrough | Sub-partner ID |
site_id | Sub-ID / passthrough | Placement (site) ID |
creative_id | Creative | Creative (banner) ID |
google_aid | Device ID | GAID (Android) |
ios_ifa | Device ID | IDFA (iOS) |
Rules and gotchas
- The campaign is the tracker itself; there is no campaign parameter.
- Any custom parameter can be forwarded to postbacks, deep links or the destination with {param_name}.
- Impression links use https://impression.appmetrica.yandex.com/serve/{tracking_id}.
Questions
What is the click ID parameter for AppMetrica?
AppMetrica partner links carry the click ID in click_id. 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 AppMetrica link?
AppMetrica documents afpub_id, site_id 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.