Skip to main content
Cookiebot → MetaIntegration guide

Connecting Cookiebot to Meta Conversions API

Cookiebot scans your site and blocks scripts automatically by category, which means it can stop a tag you rely on without anybody deciding to. 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 Cookiebot consent state 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

Cookiebot to Meta: gate the server event, not just the pixel

Cookiebot blocks the Meta pixel but not your server, so write the visitor's Cookiebot marketing consent onto the order at checkout and send the Conversions API Purchase only when it is true. Generate event_id at checkout and store it on the order for deduplication, consider Limited Data Use for US states, and compare against consented orders only.

Cookiebot blocks the Meta pixel when a visitor declines marketing, but it has no control over your server. A Conversions API setup that fires on every order will keep sending Purchase events for people who said no, with hashed email and phone attached. Write the visitor's Cookiebot marketing consent onto the order at checkout and make the server-side Purchase conditional on it.

Meta has no Consent Mode equivalent that models declined traffic, so the loss is real and it shows up as server events with no browser partner. When marketing is declined there is also no _fbp cookie and no stored fbc, which lowers Event Match Quality on any event you are allowed to send without them. For US visitors, Meta supports Limited Data Use through the data_processing_options field; check whether the state privacy laws that apply to your customers require you to set it on both pixel and server events.

The common break after a Cookiebot rollout is deduplication rather than consent. The pixel starts firing only after the accept click, sometimes on a later page, while the server sends every order. Meta can only pair the two when both carry the same event_id, so generate it at checkout, store it on the order, and pass it to whichever side fires. Then compare Events Manager's deduplicated count against consented orders, not all orders.

Cookiebot → Meta · what breaks

Why this join usually fails — Cookiebot → Meta

  1. 01

    The fbc and fbp values never reaches Cookiebot

    Scripts are blocked before execution, so an identifier-capture script placed in a blocked category never runs at all.

  2. 02

    Automatic classification blocking the wrong script

    The scanner decides what each script is. It gets things wrong, and a first-party capture script filed under marketing will be blocked for every visitor who declines marketing — including many who would have accepted what it actually does.

  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.

Cookiebot → Meta · the fix

What working looks like — Cookiebot → Meta

  • The fbc and fbp values on every consent record

  • 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

Cookiebot → Meta · architecture

How Cookiebot and Meta actually connect

  1. 1

    Cookiebot holds the truth

    Automatic blocking classifies scripts by scanning. A misclassified tag gets blocked for visitors who would have consented, and the loss is invisible because everything looks configured correctly.

  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 Cookiebot consent state.

  4. 4

    The event source decides reliability

    Send consented conversions, with the consent rate and the blocked-category mix reported alongside.

  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.

Cookiebot → Meta · normal or broken

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

Normal, not a fault

  • The fbc and fbp values present on the consent record

  • Sent from your order system, gated on consent

  • 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

    Scripts are blocked before execution, so an identifier-capture script placed in a blocked category never runs at all.

  • Sent from the browser

    The scanner decides what each script is. It gets things wrong, and a first-party capture script filed under marketing will be blocked for every visitor who declines marketing — including many who would have accepted what it actually does.

  • 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

Cookiebot → Meta · diagnose

Diagnostic order — Cookiebot → Meta

  1. 01

    Count consent records carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 03

    Read the scan results and check how each of your scripts was classified

    This takes ten minutes and it is the first thing to check when conversions drop after a CMP deployment.

  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.

Cookiebot → Meta · prove

How it gets proven — Cookiebot → Meta

Source of truth

Your order system, with the visitor's consent categories recorded at the time of the event.

  • The fbc and fbp values confirmed present on a live consent record.
  • Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
  • Consented conversions reconciled against imported figures, with script classifications verified against what they collect.

Cookiebot → Meta · free audit

What we check in the free audit

  • Count consent records carrying the fbc and fbp values
  • Follow one real conversion end to end
  • Read the scan results and check how each of your scripts was classified
  • Read Event Match Quality and the deduplication indicator
  • Read the match rate, not the success message

Checked against

Your order system, with the visitor's consent categories recorded at the time of the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cookiebot → Meta · when not to buy

When you don't need this — Cookiebot → Meta

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the fbc and fbp values.
  • If you have no legal requirement for consent in your markets, adding automatic blocking will cost you data for no compliance benefit.
  • 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.

Cookiebot → Meta · what we deliver

What gets built — Cookiebot → Meta

  • Identifier capture into Cookiebot

    Verify which category your capture script is classified into, and keep capture in a category that matches what you actually collect.

  • Event source: your order system, gated on consent

    Send consented conversions, with the consent rate and the blocked-category mix reported alongside.

  • 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

    Consent withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with the visitor's consent categories recorded at the time of the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cookiebot → Meta questions, answered

No. Cookiebot blocks browser scripts only, so your server keeps sending unless you gate the event on the consent state recorded at checkout.

Free · 30 min

Get Cookiebot and Meta joined properly

Free30 minutesNo obligation