Skip to main content
Auth0 → MetaIntegration guide

Connecting Auth0 to Meta Conversions API

Auth0 issues the user identity that everything downstream joins on, which makes it the system that decides whether an anonymous visitor and a paying customer can ever be connected. 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 Auth0 user identity 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

Auth0 to Meta CAPI: signup inside the window, revenue after it

Optimize Meta on CompleteRegistration or StartTrial at the Auth0 signup, inside the 7-day click window, and send paid Subscribe or Purchase later for reporting and value. Write fbc, its timestamp and fbp to app_metadata from a post-login Action. Deduplicate browser and server signup with the Auth0 user ID as event_id, also passed as external_id.

Meta's default attribution is 7-day click, and most Auth0-backed products convert to paid later than that. A paid Subscribe event sent 30 days after the click will match the person through fbc and the hashed email, but it will not be credited to the ad. So the event Meta should optimize on is the one that happens inside the window: CompleteRegistration or StartTrial at the Auth0 signup, with the paid conversion sent as Subscribe or Purchase for reporting and value.

The _fbc and _fbp cookies are set on your marketing domain. If login runs on the default tenant domain and the app on another subdomain, check that the app can still read them after the callback; an Auth0 custom domain on your own site keeps this simple. Write fbc, its original timestamp, and fbp into app_metadata from a post-login Action so the billing system can send them months later.

Deduplication matters at signup only. The browser fires CompleteRegistration when the callback lands, the server fires it from the post-login Action on the user's first login, and both must carry the same event_id, which the Auth0 user ID makes easy. Pass that user ID as external_id too; it gives Meta a stable key across every later event from the same person.

Auth0 → Meta · what breaks

Why this join usually fails — Auth0 → Meta

  1. 01

    The fbc and fbp values never reaches Auth0

    Login flows redirect to a hosted Auth0 domain and back, which breaks the session and can lose an identifier captured before login.

  2. 02

    The login redirect losing the acquisition source

    The visitor arrives from an ad, clicks sign in, goes to Auth0's domain and comes back as a fresh session. Without deliberate persistence the campaign that produced them is gone at exactly the moment they became identifiable.

  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.

Auth0 → Meta · the fix

What working looks like — Auth0 → 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

Auth0 → Meta · architecture

How Auth0 and Meta actually connect

  1. 1

    Auth0 holds the truth

    Auth0 holds identity, not money. Its value to measurement is that it provides the stable key which lets a pre-signup session and a later subscription be recognised as one person.

  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 Auth0 user identity.

  4. 4

    The event source decides reliability

    Send paid conversions keyed on the user identity. Signups are a stage, not revenue.

  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.

Auth0 → Meta · normal or broken

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

Normal, not a fault

  • The fbc and fbp values present on the account

  • Sent from your billing system, keyed on the Auth0 user ID

  • 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

    Login flows redirect to a hosted Auth0 domain and back, which breaks the session and can lose an identifier captured before login.

  • Sent from the browser

    The visitor arrives from an ad, clicks sign in, goes to Auth0's domain and comes back as a fresh session. Without deliberate persistence the campaign that produced them is gone at exactly the moment they became identifiable.

  • 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

Auth0 → Meta · diagnose

Diagnostic order — Auth0 → Meta

  1. 01

    Count accounts carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the identifier survives the login round trip

    Test it on a live login. This is the single most common identity break in products that use hosted authentication.

  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.

Auth0 → Meta · prove

How it gets proven — Auth0 → Meta

Source of truth

Your billing system, joined to the Auth0 user ID.

  • 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 user identity against imported conversions, with identifier survival verified across login.

Auth0 → 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
  • Check whether the identifier survives the login round trip
  • Read Event Match Quality and the deduplication indicator
  • Read the match rate, not the success message

Checked against

Your billing system, joined to the Auth0 user ID.

Get my free conversion tracking audit

Free30 minutesNo obligation

Auth0 → Meta · when not to buy

When you don't need this — Auth0 → Meta

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the fbc and fbp values.
  • If your product has no authentication, there is no identity to join and session-level attribution is all there is.
  • 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.

Auth0 → Meta · what we deliver

What gets built — Auth0 → Meta

  • Identifier capture into Auth0

    Persist the identifier before the redirect and write it onto the user's app metadata at first login, so it survives every subsequent session.

  • Event source: your billing system, keyed on the Auth0 user ID

    Send paid conversions keyed on the user identity. Signups are a stage, not revenue.

  • 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 same identity.

Written guarantee

95%+ tracking accuracy

Measured against Your billing system, joined to the Auth0 user ID.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Auth0 → Meta questions, answered

CompleteRegistration for a free account, StartTrial if the signup starts a trial. Send Subscribe or Purchase later from billing when money actually moves.

Free · 30 min

Get Auth0 and Meta joined properly

Free30 minutesNo obligation