Connecting Salesforce to Branch
Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the Salesforce Lead or Opportunity before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Salesforce and Branch: carrying the app install onto the lead
The useful direction is Branch to Salesforce. On first app open, store the Branch link's campaign and channel on the app user, then copy them onto the Lead when that user requests a demo or quote, so Closed Won revenue is reported by Branch campaign. Send deals back to Branch only for users carrying your Branch developer identity.
Branch bridges a link click to an app install, and Salesforce records a deal; they meet only where your app is part of how prospects or new customers arrive. Two cases are common: ads that drive installs of a free app whose users later talk to sales, and onboarding emails from Salesforce that send a newly signed customer's users into the app. For the second, Branch deep links can open the right workspace on first launch, but that is a product decision, not attribution.
For attribution, the useful direction is Branch to Salesforce. On first open the app receives the Branch link data with the campaign and channel; store it on the app user, and copy it onto the Lead when that user requests a demo or quote. Closed Won revenue is then reported in Salesforce by Branch campaign. Sending the deal back to Branch only makes sense if the user carries the developer identity your app sets in the Branch SDK, and only if Branch-forwarded ad partners actually drove the install.
The common break: the prospect clicks a link in an email on a laptop and installs on a phone days later. No deferred deep link survives that, so the install looks organic and the lead has no campaign. Measure how many app-sourced Leads arrive with no Branch campaign before trusting the split.
Salesforce → Branch · what breaks
Why this join usually fails — Salesforce → Branch
- 01
The Branch link click identifier and the deferred deep link payload never reaches Salesforce
Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.
- 02
The identifier is lost at lead conversion
This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.
- 03
The install that erases the campaign
Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.
- 04
Nothing reconciles afterwards
Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.
Salesforce → Branch · the fix
What working looks like — Salesforce → Branch
The Branch link click identifier and the deferred deep link payload on every opportunity
Conversions arriving in Branch
The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.
Reconciled against the source
Salesforce → Branch · architecture
How Salesforce and Branch actually connect
- 1
Salesforce holds the truth
The opportunity carries the amount, stage and close date. Because Leads convert into Contacts, Accounts and Opportunities, the identifier must be mapped through the conversion or it is dropped exactly at the moment the record becomes valuable.
- 2
Branch needs a click to match
Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.
- 3
The identifier is the bridge
The Branch link click identifier and the deferred deep link payload, captured at the visit and carried into the Salesforce Lead or Opportunity.
- 4
The event source decides reliability
Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.
- 5
Deduplication at the destination
Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.
Salesforce → Branch · normal or broken
Working vs. broken, side by side — Salesforce → Branch
Normal, not a fault
The Branch link click identifier and the deferred deep link payload present on the opportunity
Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change
Deduplicated correctly
Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.
Reconciles with the source
Actually broken
The Branch link click identifier and the deferred deep link payload missing on most records
Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.
Sent from the browser
This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.
Counted twice, or not at all
Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.
Nobody has reconciled it
Salesforce → Branch · diagnose
Diagnostic order — Salesforce → Branch
- 01
Count opportunitys carrying the Branch link click identifier and the deferred deep link payload
- 02
Follow one real conversion end to end
- 03
Convert a test Lead and inspect the resulting Opportunity
If the identifier is not on the Opportunity, the field mapping is missing. This takes five minutes and rules out the most likely cause outright.
- 04
Measure your organic install share and ask whether it is plausible
An implausibly large organic share is usually broken attribution rather than genuine word of mouth.
- 05
Read the match rate, not the success message
Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.
Salesforce → Branch · prove
How it gets proven — Salesforce → Branch
Source of truth
A Salesforce report of Closed Won opportunities for the same window, by close date.
- The Branch link click identifier and the deferred deep link payload confirmed present on a live opportunity.
- Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
- A test lead converted end to end with the identifier confirmed present on the resulting opportunity.
Salesforce → Branch · free audit
What we check in the free audit
- Count opportunitys carrying the Branch link click identifier and the deferred deep link payload
- Follow one real conversion end to end
- Convert a test Lead and inspect the resulting Opportunity
- Measure your organic install share and ask whether it is plausible
- Read the match rate, not the success message
Checked against
A Salesforce report of Closed Won opportunities for the same window, by close date.
Free30 minutesNo obligation
Salesforce → Branch · when not to buy
When you don't need this — Salesforce → Branch
- Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the Branch link click identifier and the deferred deep link payload.
- If your Salesforce instance is heavily customized and administered by another team, scope their availability before commissioning this — the build is usually blocked on admin access rather than on the tracking work.
- If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.
Salesforce → Branch · what we deliver
What gets built — Salesforce → Branch
Identifier capture into Salesforce
Custom field on Lead, matching custom field on Contact and Opportunity, and the field mapping configured so conversion carries it across. Verify by converting a test lead and reading the resulting opportunity.
Event source: a Salesforce flow, Apex trigger or scheduled export on StageName change
Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.
Dispatch to Branch
The Branch server-to-server events API, posted from your backend with the user identity and event data.
Reversals where they exist
An opportunity moved back out of Closed Won can be retracted, and enterprise pipelines do this often enough to be worth wiring.
Written guarantee
95%+ tracking accuracy
Measured against A Salesforce report of Closed Won opportunities for the same window, by close date.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Salesforce → Branch questions, answered
Store the campaign data Branch delivers on first app open against the user, and copy it onto the Salesforce Lead when they convert. Report Closed Won by that field in Salesforce.
Only for users who carry a Branch identity from your app, and only if you want Branch to forward it to ad partners. Otherwise keep revenue reporting in Salesforce.
Almost always because the Branch link click identifier and the deferred deep link payload never reached the Salesforce Lead or Opportunity. Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable. Measure coverage before debugging the dispatch.
Branch stores the click context and replays it into the app on first open, which is how a marketing campaign survives an install. That handoff is probabilistic on iOS and increasingly constrained, so the deep link data can arrive incomplete or not at all — and when it does not, the user looks organic.
A Salesforce flow, Apex trigger or scheduled export on StageName change. Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.
Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.
More on Salesforce → Branch
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
- Salesforce → GA4Connecting Salesforce to GA4
RELATED GUIDES
Where Salesforce → Branch fits in the rest of your tracking
- Clio → BranchConnecting Clio to Branch
- Nutshell → BranchConnecting Nutshell to Branch
- Insightly → BranchConnecting Insightly to Branch
- Salesforce → AppsFlyerConnecting Salesforce to AppsFlyer
- Home servicesConversion tracking for home service businesses, measured in completed jobs
- Zoho → BranchConnecting Zoho CRM to Branch
- Keap → BranchConnecting Keap to Branch
- Capsule → BranchConnecting Capsule CRM to Branch
Free · 30 min
Get Salesforce and Branch joined properly
Free30 minutesNo obligation
