Skip to main content
Swell → MetaIntegration guide

Connecting Swell to Meta Conversions API

Swell is headless commerce with subscriptions built in, which puts two conversion types in one system: a one-off order and a recurring plan that will bill again next month. 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 Swell order 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

Swell to Meta CAPI: Subscribe for plans, Purchase for orders

Send first Swell orders as Purchase and first paid subscriptions as Subscribe from the webhook, with an event_id your headless confirmation route shares with the pixel. Keep renewals out, optionally using predicted_ltv on Subscribe. Read the _fbc cookie at checkout and write it into Swell customer or order metadata, or match quality relies on hashed email and phone.

Swell keeps one-off orders and subscriptions in one store, and Meta has a standard event for each: Purchase for an order, Subscribe for a new paid subscription. Send each first payment as the event that fits it, from the Swell webhook, with an event_id shared with the pixel on your headless confirmation route. Because you wrote the storefront, generating that event_id once and handing it to both sides is simple, which is not true of most hosted checkouts.

Renewals should not be sent as Purchase. Meta has no way to tell that the second charge belongs to a customer it already counted, and with an event_time months after the click it will not be attributed to an ad anyway, so the only effect is noise in Events Manager. If you want Meta to weigh long-term subscribers, check whether the predicted_ltv parameter on Subscribe suits your setup, and keep the renewals themselves out.

The pixel sets the _fbc cookie in the browser when a visitor arrives with fbclid, but the Swell webhook only has it if your storefront reads that cookie at checkout and writes it into Swell customer or order metadata. Without that step, server events carry only hashed email and phone, and the Event Match Quality score will show it.

Swell → Meta · what breaks

Why this join usually fails — Swell → Meta

  1. 01

    The fbc and fbp values never reaches Swell

    Headless storefront plus recurring billing means the renewal happens months later with no session and no storefront involved.

  2. 02

    Renewals indistinguishable from new orders

    In a combined store the export gives you a list of payments. Without a first-versus-renewal flag, a customer on a monthly plan generates a conversion every month against the click that acquired them once.

  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.

Swell → Meta · the fix

What working looks like — Swell → Meta

  • The fbc and fbp values on every order

  • 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

Swell → Meta · architecture

How Swell and Meta actually connect

  1. 1

    Swell holds the truth

    A subscription's first payment and its renewals are the same object type in most exports. Sending both means one acquisition produces a conversion every billing cycle.

  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 Swell order.

  4. 4

    The event source decides reliability

    Send one-off orders and first subscription payments. Renewals belong in a retention figure.

  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.

Swell → Meta · normal or broken

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

Normal, not a fault

  • The fbc and fbp values present on the order

  • Sent from the Swell order and subscription webhooks

  • 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

    Headless storefront plus recurring billing means the renewal happens months later with no session and no storefront involved.

  • Sent from the browser

    In a combined store the export gives you a list of payments. Without a first-versus-renewal flag, a customer on a monthly plan generates a conversion every month against the click that acquired them once.

  • 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

Swell → Meta · diagnose

Diagnostic order — Swell → Meta

  1. 01

    Count orders carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare monthly conversion count against new customer count

    If conversions exceed new customers, renewals are being counted as acquisition.

  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.

Swell → Meta · prove

How it gets proven — Swell → Meta

Source of truth

Swell orders and subscriptions by date, held apart from each other.

  • The fbc and fbp values confirmed present on a live order.
  • Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
  • First payments reconciled against imported conversions, with renewals reported separately.

Swell → Meta · free audit

What we check in the free audit

  • Count orders carrying the fbc and fbp values
  • Follow one real conversion end to end
  • Compare monthly conversion count against new customer count
  • Read Event Match Quality and the deduplication indicator
  • Read the match rate, not the success message

Checked against

Swell orders and subscriptions by date, held apart from each other.

Get my free conversion tracking audit

Free30 minutesNo obligation

Swell → Meta · when not to buy

When you don't need this — Swell → Meta

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the fbc and fbp values.
  • A store selling only one-off products does not have the renewal problem.
  • 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.

Swell → Meta · what we deliver

What gets built — Swell → Meta

  • Identifier capture into Swell

    Write the identifier into customer metadata so the first payment can be attributed and renewals can be recognised as renewals.

  • Event source: the Swell order and subscription webhooks

    Send one-off orders and first subscription payments. Renewals belong in a retention figure.

  • 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

    Refunds and cancellations inside the first period reverse.

Written guarantee

95%+ tracking accuracy

Measured against Swell orders and subscriptions by date, held apart from each other.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Swell → Meta questions, answered

Subscribe for the first paid period and Purchase for one-off orders. Renewals should not be sent as new purchases.

Free · 30 min

Get Swell and Meta joined properly

Free30 minutesNo obligation