klickbeetracking
Glossary

The _fbp and _fbc cookies explained

Published November 9, 2026

_fbp identifies a browser for the Meta Pixel. _fbc stores the Facebook click ID after an ad click. What each contains, who sets it and why it matters for conversions.

_fbp and _fbc are two browser cookies written by the Meta Pixel. _fbp is a random identifier for the browser on your site. _fbc stores the Facebook click ID (fbclid) of the ad click that brought the visitor. Meta lets you send both values with server events so it can match a conversion to a person and an ad.

What is the _fbp cookie?

Meta's documentation says that when the Pixel is installed and uses first-party cookies, it automatically saves a unique identifier to an _fbp cookie for your domain if one does not already exist.

The value has four parts, version.subdomainIndex.creationTime.randomnumber:

  • version is always fb.
  • subdomainIndex is 0 for com, 1 for example.com, 2 for www.example.com.
  • creationTime is the Unix time in milliseconds when the cookie was saved.
  • randomnumber is generated by the Pixel so that every _fbp is unique.

An example from Meta: fb.1.1596403881668.1116446470. It identifies a browser on your site, not a named person. It is not a login.

What is the _fbc cookie?

_fbc holds the click ID. When a visitor lands from a Facebook or Instagram ad, the URL carries an fbclid parameter. Meta states that the Pixel stores the ClickID in the _fbc cookie once available. Its format is version.subdomainIndex.creationTime.fbclid.

No ad click, no fbclid, no _fbc. That is why a visitor who arrives from a newsletter has an _fbp but usually no _fbc. For the parameter itself, see what fbclid is.

What is documented and what is not?

Documented by Meta, on the page linked above:

  • The two formats.
  • That the Pixel writes both cookies.
  • That fbclid is case sensitive and must not be modified.
  • A recommendation to set _fbc yourself from the server with a 90-day expiry when you rebuild it from the URL.

Not stated on that page: a lifetime for the _fbp cookie set by the Pixel. If you see a figure quoted for it elsewhere, check it against Meta's current cookie policy before relying on it.

Why do they matter for conversion tracking?

Both are matching signals. If you use the Conversions API next to the Pixel, sending fbp and fbc with each event helps Meta match the server event to the browser event and to the ad click. Missing values mean weaker matching, not a broken setup. The trade-offs are covered in Meta Pixel vs Conversions API.

They are also the reason a cookie banner affects Meta reporting. Whether the Pixel may write them depends on your site and country, and the site owner stays responsible for that choice. When a visitor refuses, the Pixel should not run, so there is no _fbp and no _fbc. The side effects are described in Shopify cookie banner: why Meta and GA4 conversions go missing.

How does Klickbee handle this?

Klickbee's own measurement sets no cookie. For ads, its ad pixels are gated by the built-in consent banner, so a visitor who refused does not load the Meta Pixel added in Klickbee. Server-side conversions go to the Meta Conversions API only with consent: no consent, no conversion. The help center explains the setup. You can start on the free plan.

FAQ

Is _fbp a third-party cookie?

When the Pixel uses first-party cookies, as Meta's documentation describes, _fbp is written for your own domain. That makes it a first-party cookie technically. It is still an advertising identifier, and consent rules look at purpose, not at the domain.

Can I delete _fbp and _fbc safely?

Yes. The browser or the Pixel creates them again on the next visit if the Pixel is allowed to run. You lose matching history for that browser, nothing else on your site.

Do I need both _fbp and _fbc for the Conversions API?

Meta recommends sending them when available. Neither is mandatory, and _fbc only exists after an ad click. More matching signals generally help, so send what you have.

This article is information, not legal advice.

← All articles