Skip to main content
Chargebee → MetaIntegration guide

Connecting Chargebee to Meta Conversions API

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. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the Chargebee subscription before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Chargebee to Meta: StartTrial now, Subscribe when money lands

Send StartTrial to the Meta Conversions API when a Chargebee subscription starts in trial, with fbc, fbp and hashed email stored on customer custom fields, and Subscribe from payment_succeeded for the first paid period. For trials over a week, optimize on StartTrial with predicted_ltv. Send Subscribe promptly, share event_id with the pixel, and never send renewals.

Meta has standard events built for a Chargebee business: StartTrial and Subscribe, both of which accept a predicted_ltv value. Send StartTrial when the subscription is created in trial, with the fbc, fbp and the customer's hashed email, and send Subscribe from the payment_succeeded webhook for the first paid period. Store the fbc and fbp in Chargebee customer custom fields at creation, because the server send three weeks later has nowhere else to read them from.

Trial length decides which event Meta can actually use. Under a 7-day click attribution setting, a Subscribe that fires on day 15 of a 14-day trial falls outside the window and is not credited to the ad, even though it is received and matched. For trials longer than a week, optimize on StartTrial, treat Subscribe as reporting and audience data, and use predicted_ltv on StartTrial to tell Meta which trials are worth more.

Meta also rejects events with an event_time more than seven days in the past, so send Subscribe when the payment succeeds rather than batching first payments weekly. If the pixel fires StartTrial on the signup confirmation page as well, the server StartTrial must carry the same event_id; the Chargebee subscription ID works for both. Renewals should not go as Subscribe, or Meta reads every billing cycle as a new subscriber.

Chargebee → Meta · what breaks

Why this join usually fails — Chargebee → Meta

  1. 01

    The fbc and fbp values 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

    Double counting from broken deduplication

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  4. 04

    Nothing reconciles afterwards

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Chargebee → Meta · the fix

What working looks like — Chargebee → Meta

  • The fbc and fbp values on every subscription

  • Conversions arriving in Meta

    Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.

  • Reconciled against the source

Chargebee → Meta · architecture

How Chargebee and Meta 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

    Meta Conversions API needs a click to match

    Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.

  3. 3

    The identifier is the bridge

    The fbc and fbp values, 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

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

Chargebee → Meta · normal or broken

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

Normal, not a fault

  • The fbc and fbp values present on the subscription

  • Sent from the Chargebee payment_succeeded webhook

  • Deduplicated correctly

    Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.

  • Reconciles with the source

Actually broken

  • The fbc and fbp values 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

    Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.

  • Nobody has reconciled it

Chargebee → Meta · diagnose

Diagnostic order — Chargebee → Meta

  1. 01

    Count subscriptions carrying the fbc and fbp values

  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

    Read Event Match Quality and the deduplication indicator

    In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.

  5. 05

    Read the match rate, not the success message

    Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.

Chargebee → Meta · prove

How it gets proven — Chargebee → Meta

Source of truth

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

  • The fbc and fbp values confirmed present on a live subscription.
  • Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
  • A dunning sequence confirmed to produce one conversion rather than one per retry.

Chargebee → Meta · free audit

What we check in the free audit

  • Count subscriptions carrying the fbc and fbp values
  • Follow one real conversion end to end
  • Check whether the event fires on invoice or on payment
  • Read Event Match Quality and the deduplication indicator
  • 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 → Meta · when not to buy

When you don't need this — Chargebee → Meta

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the fbc and fbp values.
  • 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 running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.

Chargebee → Meta · what we deliver

What gets built — Chargebee → Meta

  • 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 Meta

    Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.

  • 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 → Meta questions, answered

StartTrial at signup, with predicted_ltv if you have a reasonable estimate, and Subscribe when the first payment succeeds. For trials longer than your attribution window, optimize on StartTrial.

Free · 30 min

Get Chargebee and Meta joined properly

Free30 minutesNo obligation