What is fbclid?

fbclid is a parameter Meta adds to the URL when someone clicks an ad on Facebook or Instagram. Meta calls it the ClickID. It is how Meta connects a conversion on your website back to the click that brought the visitor there.

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

Questions

fbclid is Meta's click identifier, which Meta calls the ClickID. It is appended to URLs when someone clicks a link or ad on Facebook or Instagram, so conversions can be attributed to that click.

Only after it has been captured. If it is stripped before the Meta Pixel or your server reads it, Meta loses the link between the click and any conversion that follows.

_fbc stores the click ID from an ad click, prefixed with a version, subdomain index and timestamp. _fbp identifies the browser itself, with a random number in place of the click ID.

Yes. Meta's documentation says the value is case-sensitive and must not be modified, so never lowercase it when storing or forwarding it.

More glossary

Consent mode v2

Google consent mode v2 explained: the four consent types, basic vs advanced mode, what Google requires for EEA traffic, and how it works with server-side tagging.

Conversions API

A conversions API sends conversion events from your server straight to an ad platform, so blocked pixels no longer mean lost conversions. How it works.

Event match quality

Event match quality scores how well your server events can be matched to people on Meta. What it measures, where to find it and the parameters that raise it.

First-party cookies

What first-party cookies are, how they differ from third-party cookies, and the limits Safari puts on them, including cookies set by server-side tagging.

GCLID, gbraid and wbraid

GCLID is the Google Ads click ID added to your landing page URL. What it does, how gbraid and wbraid differ on iOS, and why it matters for conversion tracking.

Google tag gateway

Google tag gateway serves Google tags from your own domain. What it does, how it differs from server-side Google Tag Manager, and why Google suggests using both.

All glossary

See the conversions you have been missing

Hosted server-side Google Tag Manager on your own subdomain. Per-site pricing, 1M events included, cancel anytime.