Skip to main content
Braintree → LinkedInIntegration guide

Connecting Braintree to LinkedIn Ads

Braintree is a payment gateway rather than a storefront, so it sits underneath whatever is taking the order and holds the transaction itself. LinkedIn is where B2B advertisers pay the highest cost per click in the industry, which makes an unmeasured conversion more expensive here than almost anywhere. The join between them succeeds or fails on one thing: whether the li_fat_id click identifier reaches the Braintree transaction before the conversion happens, because LinkedIn can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Braintree to LinkedIn CAPI: first paid charge for B2B subscriptions

LinkedIn fits only when Braintree bills businesses. Send the first settled charge on a new subscription through the Conversions API, not renewals, with li_fat_id copied from the account record into the transaction's custom fields and the registered email hashed as fallback. Many teams bid on trial starts from the app and judge LinkedIn on that first paid charge.

LinkedIn only makes sense here when Braintree is billing businesses: SaaS seats, B2B subscriptions, paid pilots. A consumer store running on Braintree has no reason to send card payments to LinkedIn, and the cost per click will not survive the arithmetic whatever the conversion data says.

For B2B billing, the conversion worth sending is the first settled charge on a new subscription, not each monthly renewal and not the free-trial signup alone. Trials often convert late, so many teams define two conversions in Campaign Manager: the trial start, sent from the application, and the first paid charge, sent from Braintree, then bid on the first and judge LinkedIn on the second. The li_fat_id has to be in the custom fields of that first transaction, which in practice means copying it from the user's account record, where it was stored at signup, into the Braintree call your server makes when the trial ends.

The match fallback is hashed email. Send the email the user registered with in your app; if your app stores both a login email and a separate billing contact, test which one matches better rather than guessing. Seat expansions and annual prepayments distort value, so send the first-invoice amount and track expansion revenue outside LinkedIn, where it will not be mistaken for acquisition.

Braintree → LinkedIn · what breaks

Why this join usually fails — Braintree → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches Braintree

    Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.

  2. 02

    A gateway that knows nothing about marketing

    Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.

  3. 03

    Long B2B cycles against LinkedIn's windows

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  4. 04

    Nothing reconciles afterwards

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Braintree → LinkedIn · the fix

What working looks like — Braintree → LinkedIn

  • The li_fat_id click identifier on every transaction

  • Conversions arriving in LinkedIn

    Conversions appear in Campaign Manager against the campaign, with the value you sent, and feed LinkedIn's optimization and its company-level reporting.

  • Reconciled against the source

Braintree → LinkedIn · architecture

How Braintree and LinkedIn actually connect

  1. 1

    Braintree holds the truth

    Settled and authorised are different states. Authorisation reserves the funds; settlement is money moving, and reporting on the wrong one produces a persistent gap against your bank.

  2. 2

    LinkedIn Ads needs a click to match

    LinkedIn matches server events on the click identifier where present and hashed user data otherwise. Conversions have to be defined in Campaign Manager before anything can be sent against them, and the definition includes the attribution window and counting rule.

  3. 3

    The identifier is the bridge

    The li_fat_id click identifier, captured at the visit and carried into the Braintree transaction.

  4. 4

    The event source decides reliability

    Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.

  5. 5

    Deduplication at the destination

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

Braintree → LinkedIn · normal or broken

Working vs. broken, side by side — Braintree → LinkedIn

Normal, not a fault

  • The li_fat_id click identifier present on the transaction

  • Sent from the Braintree transaction settlement webhook

  • Deduplicated correctly

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

  • Reconciles with the source

Actually broken

  • The li_fat_id click identifier missing on most records

    Braintree is a gateway, so it sees the payment and not the marketing. The identifier has to be attached at the point your application creates the transaction, through custom fields, or it never enters Braintree at all.

  • Sent from the browser

    Braintree sees a payment. Whether it can be tied to a click depends entirely on whether your own application attached the identifier when creating the transaction, and most do not.

  • Counted twice, or not at all

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  • Nobody has reconciled it

Braintree → LinkedIn · diagnose

Diagnostic order — Braintree → LinkedIn

  1. 01

    Count transactions carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a settled transaction and check its custom fields

    If the identifier is not there, your application never attached it and nothing downstream can recover it.

  4. 04

    Confirm auto-tagging is on and the conversion is defined in Campaign Manager

    Two settings, both easy to miss, and either one missing means nothing matches.

  5. 05

    Read the match rate, not the success message

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Braintree → LinkedIn · prove

How it gets proven — Braintree → LinkedIn

Source of truth

Braintree's transaction records, filtered to settled, for the same window.

  • The li_fat_id click identifier confirmed present on a live transaction.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • A PayPal-funded transaction confirmed to report even though the buyer was redirected away.

Braintree → LinkedIn · free audit

What we check in the free audit

  • Count transactions carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Open a settled transaction and check its custom fields
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

Braintree's transaction records, filtered to settled, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Braintree → LinkedIn · when not to buy

When you don't need this — Braintree → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the li_fat_id click identifier.
  • If your platform already reports orders accurately and Braintree is purely the funding rail, work at the order layer instead — it is closer to the customer.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Braintree → LinkedIn · what we deliver

What gets built — Braintree → LinkedIn

  • Identifier capture into Braintree

    Pass the click identifier into the transaction's custom fields when your server creates the charge. Braintree preserves them and they survive to the webhook and to any later refund.

  • Event source: the Braintree transaction settlement webhook

    Fire on settlement rather than authorisation, and note that Braintree's PayPal and wallet flows redirect the buyer away — so the confirmation page is not a reliable trigger.

  • Dispatch to LinkedIn

    Server events to the LinkedIn Conversions API with the click identifier, hashed user data and a matched event identifier.

  • Reversals where they exist

    Braintree exposes refunds and disputes, both carrying the original custom fields, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against Braintree's transaction records, filtered to settled, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Braintree → LinkedIn questions, answered

Yes, if you sell to businesses and LinkedIn spend is meaningful. Send the first settled subscription charge with the li_fat_id from the transaction's custom fields plus hashed email; for consumer products billed through Braintree, skip LinkedIn.

Free · 30 min

Get Braintree and LinkedIn joined properly

Free30 minutesNo obligation