Skip to main content
Clerk → MetaIntegration guide

Connecting Clerk to Meta Conversions API

Clerk handles both authentication and organisation membership, which matters for B2B products where the paying entity is a company and the signing-up entity is a person. 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 Clerk user and organisation 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

Clerk to Meta: CompleteRegistration per user, Purchase per org

Send the Meta Conversions API CompleteRegistration or StartTrial for the founding Clerk user only, and Purchase or Subscribe once per organization when it pays, stamped with the payment time. Store fbc and fbp on the user at signup, use organization ID plus billing period as event_id, and send the founder's hashed work email.

Meta allows several event types, so the clean mapping for a B2B product on Clerk is CompleteRegistration (or StartTrial) for the founding user and Purchase or Subscribe once per organization when it pays. Invited members should not send CompleteRegistration at all. If they do, Meta's optimization treats colleague invites as acquisitions and starts looking for more people like the existing customer's staff.

Store fbc and fbp on the user at signup, since the browser that clicked the ad is not around when billing confirms a payment weeks later. Meta's seven-day limit applies to event_time, not to the click, so the paid event is valid as long as you send it when the payment happens and stamp it with that time. Do not backdate it to the signup date; that is a common way to get trial conversions rejected.

For deduplication, use the organization ID plus the billing period as event_id on the Purchase, so a webhook retry or a second admin upgrading the same organization does not count twice. Hash the founding member's work email and send it; in B2B, fbc coverage is often weak because people click on mobile and sign up on a work laptop.

Clerk → Meta · what breaks

Why this join usually fails — Clerk → Meta

  1. 01

    The fbc and fbp values never reaches Clerk

    Several people from one company sign up separately, each carrying a different acquisition source.

  2. 02

    Counting seats instead of customers

    Five colleagues signing up from one company is one paying customer and five conversions if attribution sits on the user. Cost per acquisition then reads as a fifth of reality.

  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.

Clerk → Meta · the fix

What working looks like — Clerk → Meta

  • The fbc and fbp values on every account

  • 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

Clerk → Meta · architecture

How Clerk and Meta actually connect

  1. 1

    Clerk holds the truth

    In B2B SaaS the subscription belongs to an organisation and several users belong to it. Attributing revenue per user counts one customer several times.

  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 Clerk user and organisation.

  4. 4

    The event source decides reliability

    Send paid conversions per organisation, deduplicated across its users.

  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.

Clerk → Meta · normal or broken

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

Normal, not a fault

  • The fbc and fbp values present on the account

  • Sent from your billing system, keyed on the organisation

  • 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

    Several people from one company sign up separately, each carrying a different acquisition source.

  • Sent from the browser

    Five colleagues signing up from one company is one paying customer and five conversions if attribution sits on the user. Cost per acquisition then reads as a fifth of reality.

  • 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

Clerk → Meta · diagnose

Diagnostic order — Clerk → Meta

  1. 01

    Count accounts carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare user signups against paying organisations

    The ratio is the size of the overcount, and in B2B products it is rarely close to one.

  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.

Clerk → Meta · prove

How it gets proven — Clerk → Meta

Source of truth

Your billing system, joined to the Clerk organisation rather than the user.

  • The fbc and fbp values confirmed present on a live account.
  • Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
  • Paid conversions reconciled per organisation against imported conversions, deduplicated across users.

Clerk → Meta · free audit

What we check in the free audit

  • Count accounts carrying the fbc and fbp values
  • Follow one real conversion end to end
  • Compare user signups against paying organisations
  • Read Event Match Quality and the deduplication indicator
  • Read the match rate, not the success message

Checked against

Your billing system, joined to the Clerk organisation rather than the user.

Get my free conversion tracking audit

Free30 minutesNo obligation

Clerk → Meta · when not to buy

When you don't need this — Clerk → Meta

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the fbc and fbp values.
  • Consumer products where one user is one customer do not have this distinction.
  • 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.

Clerk → Meta · what we deliver

What gets built — Clerk → Meta

  • Identifier capture into Clerk

    Store the identifier on the user and attribute at the organisation, using the first user's source with the others recorded as supporting.

  • Event source: your billing system, keyed on the organisation

    Send paid conversions per organisation, deduplicated across its users.

  • 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 reverse against the organisation.

Written guarantee

95%+ tracking accuracy

Measured against Your billing system, joined to the Clerk organisation rather than the user.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Clerk → Meta questions, answered

No. Send it for users who sign up on their own or create an organization. Invited teammates are not new customers and will distort optimization.

Free · 30 min

Get Clerk and Meta joined properly

Free30 minutesNo obligation