Overview
Branch is a mobile measurement and deep-linking platform that attributes installs and in-app events using app.link tracking links and server-to-server postbacks.
Deep Links
Direct and deferred deep linking via app.link.
Postbacks
Install and in-app event callbacks via S2S.
Revenue
Revenue, ROI and currency-aware reporting.
Make sure you have access to your Branch Partner Management and Affclix Mobile Tracking settings.
Attribution Flow
User Clicks Branch Link
Branch captures the click and deep-link context; the Affclix click ID travels in the ~click_id parameter.
App Install / Open
Branch attributes the install and routes the deep link to the right screen.
Postback Triggered
Install or in-app event is sent to Affclix via S2S callback.
Conversion Logged
Affclix checks the security token, de-duplicates installs and books the conversion on the tracker — payout and affiliate postback included.
Tracking Link
The offer URL is the advertiser's own Branch attribution link with Affclix parameters appended. Affclix fills the {tokens} on every click; Branch stores the click ID and returns it in its postback, which is how each install is matched to its click and affiliate.
https://<app>.app.link/<link_alias>?~click_id={click_id}&~secondary_publisher={affiliate_id}&~campaign={campaign_name}&%24aaid={gaid}&%24idfa={iosidfa}Open Integrations → MMP Integrations → Branch and paste the advertiser's link into the Tracking link builder. Values in <angle brackets> come from the advertiser's Branch account.
Postback URLs
Give Branch these URLs as GET postbacks. Each one carries your workspace's postback security token (auth=) — copy the URLs from the Mobile Tracking page, where the real token and integration slug are filled in.
https://track.your-domain.com/postback/mmp/{integration-slug}?click_id=${(last_attributed_touch_data.~click_id)!}&auth={security_token}https://track.your-domain.com/postback/mmp/{integration-slug}?click_id=${(last_attributed_touch_data.~click_id)!}&e=${(name)!}&sale=${(event_data.revenue)!}¤cy=${(event_data.currency)!}&txn_id=${(event_data.transaction_id)!}&event_id=${(id)!}&auth={security_token}| Branch | Affclix | Meaning |
|---|---|---|
~click_id= | {click_id} | Click link — our tracker fills this on every click |
~secondary_publisher= | {affiliate_id} | Click link — our tracker fills this on every click |
~campaign= | {campaign_name} | Click link — our tracker fills this on every click |
%24aaid= | {gaid} | Click link — our tracker fills this on every click |
%24idfa= | {iosidfa} | Click link — our tracker fills this on every click |
${(last_attributed_touch_data.~click_id)!} | click_id= | Postback — Our tracker click ID, from the link's ~click_id |
${(name)!} | e= | Postback — Branch event name → campaign goal token |
${(event_data.revenue)!} | sale= | Postback — event revenue |
${(event_data.currency)!} | currency= | Postback — currency code |
${(event_data.transaction_id)!} | txn_id= | Postback — transaction ID (de-duplicates retries) |
${(id)!} | event_id= | Postback — Branch event ID — de-duplicates when there is no transaction ID |
Events, Goals & Revenue
Every processed postback is booked as a conversion on the tracker — the same path as an advertiser S2S postback, so payout rules, caps, fraud checks and affiliate postbacks all apply.
| Postback param | What Affclix does with it |
|---|---|
click_id | Finds the click, and with it the campaign and affiliate. |
e | Books the campaign goal whose token matches. No e (installs) books the campaign's default goal. Map Branch event names to goal tokens under Settings → Event mapping when they differ. |
sale | The event revenue — the basis for CPS and RevShare payouts. |
currency | Currency of sale. |
txn_id | De-duplicates retries of the same postback. Affclix derives one when Branch sends none. |
auth | Your postback security token. A wrong token is rejected; a missing one is rejected when your workspace requires signed postbacks. |
Testing & Best Practices
- Fire a test postback from the Mobile Tracking page with the click ID of a real test click, and check the Recent postbacks table.
- Keep auth= in every URL; rotating the token in Postback settings keeps the previous one valid until you revoke it.
- Leave organic installs off unless you need them reported — they have no Affclix click, so no affiliate earns them.
- Choose whether postbacks Branch flags as fraud are rejected or booked and flagged.
- Postbacks Affclix could not deliver to the tracker are retried automatically and can be re-sent from Recent postbacks.