Branch Integration

Connect Branch as a network partner — deep links, deferred attribution, server-to-server postbacks, and revenue reporting via Affclix Mobile Tracking.

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.

Before you start

Make sure you have access to your Branch Partner Management and Affclix Mobile Tracking settings.

Attribution Flow

01

User Clicks Branch Link

Branch captures the click and deep-link context; click_id travels in the link.

02

App Install / Open

Branch attributes the install and routes the deep link to the right screen.

03

Postback Triggered

Install or in-app event is sent to Affclix via S2S callback.

04

Conversion Logged

Affclix verifies the signature, normalizes, deduplicates and records the conversion.

Tracking Link & Deep Linking

Branch links use the app.link domain and carry the click_id plus channel data.

Branch Link
https://yourapp.app.link/xyz123
?click_id={click_id}
&campaign={campaign}
&~channel=affiliate

Deep links route users to a specific in-app destination:

Deep Link
myapp://product?id=123
Required Parameter

Pass click_id on the link — it must be returned in every postback for attribution to succeed.

Postback Configuration

Branch fires install and event postbacks to the Affclix receiver. The integration is identified by its unique slug; authenticity is verified by the per-platform HMAC signature header.

HTTPS POST
POST https://track.your-domain.com/postback/mmp/{slug}
?tid=${(click_id)!}
&event=${(name)!}
&revenue=${(revenue)!}
¤cy=${(currency)!}
01

Copy Postback URL

Open Mobile Tracking → Branch and copy the generated URL.

02

Configure Partner

Add the URL in Branch Partner Management and map name → event, revenue → revenue.

03

Enable Events

Enable install and in-app event postbacks.

Event & Revenue Tracking

Branch passes the event name and revenue on each postback:

Postback Params
event=purchase
revenue=12.50
currency=USD

Install Events

Automatically reported after attribution.

Custom Events

Signup, purchase and custom in-app actions.

Revenue Tracking

revenue and currency for ROI reporting.

Fraud Prevention & Best Practices

  • Verify HMAC signatures on every callback.
  • Always pass click_id and return it as tid.
  • Deduplicate conversions using click_id and event name.
  • Include revenue and currency for purchase events.
  • Use HTTPS endpoints only.
Rate this article
★★★★★
Thanks for rating!

Was this article helpful?