Skip to main content
Chargebee → LinkedInIntegration guide

Connecting Chargebee to LinkedIn Ads

Chargebee is a billing system, so it holds the only complete record of what a subscription business earned — and it sits entirely outside the browser. 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 Chargebee subscription 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

Chargebee to LinkedIn: crediting B2B trials that pay weeks later

LinkedIn fits Chargebee's B2B SaaS buyers well. Capture li_fat_id at landing into a Chargebee customer custom field, with the hashed work email as fallback. Define two conversions, trial start at signup and first payment from payment_succeeded at the collected amount, since trials can outlast the attribution window. Never send renewals or expansion.

Of the six destinations, LinkedIn is the most natural fit for a Chargebee business, because Chargebee mostly bills B2B SaaS and LinkedIn is where that audience is bought at the highest cost per click. The join is the li_fat_id captured on the landing page and written to a custom field on the Chargebee customer at signup, plus the work email, hashed, as the fallback LinkedIn matches on. Personal Gmail signups match far worse than company addresses, which is worth knowing before blaming the integration.

The timing problem is specific: a 14 or 30-day trial plus a sales-assisted upgrade can push the first payment past the attribution window you set in Campaign Manager. Define two conversions, a trial start sent at signup and a first payment sent from payment_succeeded, so LinkedIn has an in-window signal to optimize on while the revenue conversion still lands where it can. Check the window settings on each conversion before comparing them.

Send the first payment at its collected amount, not the annual contract value, unless the plan is billed annually up front. Renewals and expansion should not be sent as new conversions to LinkedIn at all; they belong in your revenue reporting, and counting them here makes old campaigns look as if they are still producing customers.

Chargebee → LinkedIn · what breaks

Why this join usually fails — Chargebee → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches Chargebee

    The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.

  2. 02

    Trials longer than any cookie

    The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.

  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.

Chargebee → LinkedIn · the fix

What working looks like — Chargebee → LinkedIn

  • The li_fat_id click identifier on every subscription

  • 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

Chargebee → LinkedIn · architecture

How Chargebee and LinkedIn actually connect

  1. 1

    Chargebee holds the truth

    The distinction that matters most here is invoice generated versus payment succeeded. An invoice is a bill you sent; a payment is money you received, and in any business with dunning the gap between them is large.

  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 Chargebee subscription.

  4. 4

    The event source decides reliability

    Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.

  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.

Chargebee → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id click identifier present on the subscription

  • Sent from the Chargebee payment_succeeded 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

    The identifier must live on the customer or subscription so it survives a trial period that is longer than any browser cookie you can rely on. Chargebee's hosted checkout is also a different origin, so nothing crosses it by default.

  • Sent from the browser

    The gap between signup and first payment is where the identifier has to survive, and it is measured in weeks. Browser storage will not do it.

  • 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

Chargebee → LinkedIn · diagnose

Diagnostic order — Chargebee → LinkedIn

  1. 01

    Count subscriptions carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the event fires on invoice or on payment

    Invoice-based firing counts money you have not received, and in a business with dunning that overstates consistently.

  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.

Chargebee → LinkedIn · prove

How it gets proven — Chargebee → LinkedIn

Source of truth

Chargebee's paid invoices by payment date, net of refunds and failed payments.

  • The li_fat_id click identifier confirmed present on a live subscription.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • A dunning sequence confirmed to produce one conversion rather than one per retry.

Chargebee → LinkedIn · free audit

What we check in the free audit

  • Count subscriptions carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Check whether the event fires on invoice or on payment
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

Chargebee's paid invoices by payment date, net of refunds and failed payments.

Get my free conversion tracking audit

Free30 minutesNo obligation

Chargebee → LinkedIn · when not to buy

When you don't need this — Chargebee → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the li_fat_id click identifier.
  • If your trial is longer than 90 days, uploading the first payment against the original click cannot work — we will tell you that before quoting.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Chargebee → LinkedIn · what we deliver

What gets built — Chargebee → LinkedIn

  • Identifier capture into Chargebee

    Write the click identifier to a custom field on the Chargebee customer or subscription when the subscription is created, server-side, rather than relying on the hosted checkout page to carry it.

  • Event source: the Chargebee payment_succeeded webhook

    Fire on payment succeeded, not invoice generated, and key the conversion on the billing period so a dunning sequence with four retries produces one conversion rather than four.

  • 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

    Cancellations and refunds are exposed and should reverse the lifetime value claimed at acquisition.

Written guarantee

95%+ tracking accuracy

Measured against Chargebee's paid invoices by payment date, net of refunds and failed payments.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Chargebee → LinkedIn questions, answered

Both, as separate conversions. Trial starts land inside LinkedIn's window and feed optimization; first payments tell you which campaigns produced revenue, though some will fall outside the window on long trials.

Free · 30 min

Get Chargebee and LinkedIn joined properly

Free30 minutesNo obligation