On this page
What this issue is
Meta's Conversions API lets your server send events such as Lead or Purchase straight to Meta. To link each event to a person, Meta looks at the identifiers you send in user_data. Two of them come from the browser.
Why it costs you leads or sales
Meta uses matched conversions to report results and to train ad delivery. When events arrive without fbp or fbc, fewer of them can be tied to the ad click or the browser that produced them. Your reported conversions can drop, and the campaign gets less signal to find similar people.
It is rated medium impact because the events still arrive and may match on email or phone. But click and browser IDs are often the strongest signals for visitors who did not give an email in the same session.
- Ad clickURL carries fbclid
- Pixel sets cookies_fbp and _fbc stored
- Form or checkoutCookies not sent to your server
- CAPI eventuser_data has no fbp or fbc
- Meta matchingWeaker click and browser match
The browser holds fbp and fbc. If the server never reads them, the CAPI event goes out thin.
Example: illustrative numbers only. Adding fbc and fbp to server events typically raises how many can be matched.
How to check if your site has it
Open Events Manager
In Meta Events Manager, select your dataset (Pixel), then open the Overview tab and click a server event such as Lead or Purchase.
Review Event Match Quality
Open the event and look at the customer information parameters. See whether Click ID (fbc) and Browser ID (fbp) are listed as received, and the share of events that carry them.
Use Test Events
Open the Test Events tab, enter your test event code in your server request, submit a test lead, and inspect the payload Meta shows for fbp and fbc.
Inspect your own payload
Log the JSON your server sends to the graph.facebook.com events endpoint. Check that user_data contains fbp and, for visits that came from an ad, fbc.
Confirm cookies exist in the browser
Visit your site with ?fbclid=test123 added to the URL, then check Application > Cookies in browser dev tools for _fbp and _fbc. If they are absent, the Pixel is not running or consent is blocking it.
How to fix it
The fix has three parts: capture the values in the browser, keep them until the conversion happens, then add them to the server event. The exact place depends on your platform.
Create cookie variables
Add two First-Party Cookie variables named for the cookies _fbp and _fbc.
Send them to your server container
In the web tag or client that sends data to your server-side GTM container, add fbp and fbc as event parameters using those variables.
Map them in the Meta CAPI tag
In the server container, check the Meta Conversions API tag reads the values. Many CAPI tag templates pick up the _fbp and _fbc cookies automatically if the request comes from your own domain; if not, set them in the tag's user data fields.
Check your CAPI plugin
If you use a plugin that sends CAPI events, open its Meta settings and look for options to send browser ID and click ID. Update the plugin to the latest version.
Save cookies with form entries
For custom forms, add hidden fields for fbp and fbc and fill them with JavaScript (see the code below), so your server can read them on submit.
Use the native Meta integration
If you use the Facebook & Instagram sales channel, the integration handles browser IDs for you when data sharing is set to Maximum. Check this in the channel's Data sharing settings.
Custom server code
If you send events from your own app or webhook, add fbp and fbc as cart or order note attributes at the storefront and read them from the order payload.
Read the cookies on submit
Use JavaScript to read _fbp and _fbc and post them with your form or checkout request.
Build fbc if the cookie is missing
If fbclid is in the URL but _fbc is not set yet, build the value as fb.1.<timestamp in ms>.<fbclid>.
Add them to user_data
Include fbp and fbc in the user_data object of each CAPI event you send.
function getCookie(name) {
var m = document.cookie.match('(^|;)\\s*' + name + '=([^;]*)');
return m ? decodeURIComponent(m[2]) : '';
}
function getFbc() {
var c = getCookie('_fbc');
if (c) return c;
var id = new URLSearchParams(location.search).get('fbclid');
return id ? 'fb.1.' + Date.now() + '.' + id : '';
}
document.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll('form').forEach(function (f) {
['fbp', 'fbc'].forEach(function (n) {
var i = f.querySelector('input[name="' + n + '"]');
if (i) i.value = n === 'fbp' ? getCookie('_fbp') : getFbc();
});
});
});{
"data": [{
"event_name": "Lead",
"event_time": 1735689600,
"event_id": "lead_12345",
"action_source": "website",
"event_source_url": "https://example.com/contact",
"user_data": {
"em": ["<sha256 hashed email>"],
"fbp": "fb.1.1735689000000.1234567890",
"fbc": "fb.1.1735689000000.AbCdEfGhIj",
"client_ip_address": "203.0.113.10",
"client_user_agent": "Mozilla/5.0 ..."
}
}]
}How to confirm it's fixed
Visit with a test click ID
Open your landing page with ?fbclid=test123 appended and complete the form or a test checkout.
Check Test Events
In Events Manager > Test Events, find the server event and confirm fbp and fbc appear in the received parameters.
Check deduplication
Confirm the browser and server events share the same event_id so Meta counts one conversion, not two.
Watch Event Match Quality
Over the next few days, check that the share of events with Click ID and Browser ID goes up in the event's details.
How to prevent it happening again
- Keep hidden fbp and fbc fields in every lead form that feeds a server event.
- Store the values in your CRM or order record so later events (qualified lead, sale) can reuse them.
- Re-test after changing form builders, themes, consent banners or your CAPI plugin.
- Review Event Match Quality in Events Manager monthly.
- Document which system sends each event so a new integration is not set up without these fields.
How FunnelGuard handles this
FunnelGuard does not check this yet. Reading the contents of your server-to-Meta payload is a possible future check, but it is not something the service does today.
What FunnelGuard does cover nearby: a robot visitor runs your real lead form or checkout on a schedule and checks that the tracking hits to ad platforms, including Meta, are sent from the browser, and that test leads reach your inbox and CRM. If the Pixel stops firing, so no _fbp cookie is set, you can be alerted to that. It cannot tell you whether your server event includes fbp or fbc.
Questions people ask
What are fbp and fbc in Meta Conversions API?
fbp is the browser ID stored in the _fbp cookie, set by the Meta Pixel. fbc is the click ID built from the fbclid URL parameter and stored in the _fbc cookie. Both are sent in the user_data object to help Meta match server events to people and ad clicks.
Why is my Meta CAPI event missing fbc?
The most common reasons are that the visit did not come from a Meta ad, so there was no fbclid, or that your server never read the _fbc cookie. Check that the landing URL kept fbclid and that your form or checkout passes the cookie value to your server.
What is the fbc format for the Conversions API?
The format is fb.1.<timestamp in milliseconds>.<fbclid>, for example fb.1.1735689000000.AbCdEfGhIj. The Pixel normally creates this in the _fbc cookie. If it is missing, you can build it from the fbclid in the URL, keeping the fbclid case exactly as received.
Should I hash fbp and fbc before sending to Meta?
No. Send fbp and fbc exactly as stored, without hashing. Hashing with SHA-256 applies to personal data such as email and phone number, not to these browser identifiers.
Do I need fbp and fbc if I already send email and phone?
They are not required, but they help. Email and phone only match when the person supplied them, while fbp and fbc tie the event to a browser and an ad click. Sending all available identifiers usually gives Meta more to match on.
How do I get fbp and fbc from the browser to my server?
Read the _fbp and _fbc cookies with JavaScript and post them with your form or checkout, for example in hidden fields. Server-side GTM can also read them from the cookies sent with the request to your own domain. Then add them to user_data in your CAPI call.
Can FunnelGuard tell me if my server events are missing fbp or fbc?
No. FunnelGuard does not check this yet. It can run your lead form on a schedule and verify the browser-side Meta tracking hit, but you need Meta's Events Manager to inspect server payloads.
Related issues
- TRK-369Server events missing client IP / user agentFix guide
- TRK-368Meta CAPI token expiredFix guide
- TRK-371Shopify/WooCommerce native CAPI app disconnectedFix guide
- TRK-367Server-side GA4 event not arriving (Measurement Protocol)Fix guide
- TRK-377Server-side endpoint returns 5xx intermittentlyFix guide
- TRK-372Server-side tagging cost overrun shutting containerFix guide