What an fbclid looks like
A click from Facebook or Instagram lands on a URL like this:
https://example.com/product?fbclid=IwAR2F4...
Meta's documentation says the value is case-sensitive and should not be modified. Lowercasing or trimming it breaks the match.
From fbclid to _fbc
The Meta Pixel stores the click ID in a first-party cookie called _fbc, in this format:
fb.1.1732406400000.IwAR2F4...
| Part | Meaning |
|---|---|
fb |
Version, always fb |
1 |
Subdomain index: 0 for com, 1 for example.com, 2 for www.example.com |
1732406400000 |
When the value was created, as a Unix timestamp in milliseconds |
IwAR2F4... |
The fbclid itself |
The pixel also sets _fbp, which identifies the browser rather than the click. It uses the same layout but ends in a random number instead of a click ID.
If you build the fbc value on a server without a cookie, Meta says to use subdomain index 1, and the time you first saw the fbclid as the timestamp.
Why send it with server events
Meta recommends sending the fbc parameter with every event you send to the Conversions API, along with fbp when you have it. These two values are among the strongest signals Meta has for matching a server event to an ad click, which shows up in your event match quality.
The risk is that the _fbc cookie is set by JavaScript, and browsers limit how long JavaScript cookies last. When Safari detects that a visitor arrived through a link carrying cross-site tracking information, it caps cookies created by JavaScript on that landing page at 24 hours. A visitor who comes back to buy two days later may no longer have _fbc.
A server-side setup can read the fbclid on the landing page request and keep it with the visitor's events, so the click is still known when the conversion happens.
Free tool
See how much conversion data your site is losing, in about a minute