Facebook & Meta Pixel cookiesAll need consent
Facebook & Meta Pixel sets 7 cookies we know of. Every one may only be set after the visitor opts in.
Reviewed · Provider: Meta Platforms, Inc.
List of Facebook & Meta Pixel cookies
_fbpMarketingConsent required90 daysUsed by Facebook to deliver a series of advertisement products such as real-time bidding from third-party advertisers.
_fbcMarketingConsent required90 daysStores the last click attribution. Used by Facebook Pixel to match ad clicks to conversions.
frMarketingConsent required90 daysUsed by Facebook for targeted advertising and to track conversions from Facebook ads.
xsFunctionalConsent required90 daysSession token used by the Facebook Messenger Customer Chat Plugin to authenticate the logged-in user.
c_userFunctionalConsent required90 daysStores the Facebook user ID of the logged-in user for the Messenger chat plugin.
sbFunctionalConsent required2 yearsBrowser identifier used by Facebook for security and anti-fraud purposes in the Messenger plugin.
datrMarketingConsent required2 yearsBrowser identifier set by Facebook to prevent spam and detect fraudulent account activity. Also used for ad targeting.
How to handle Facebook & Meta Pixel cookies
- 1Load it only after consent
Hold the Facebook & Meta Pixel script until the visitor accepts marketing / functional cookies. Blocking the script is what stops the cookies; hiding them in a banner does not.
- 2Make Reject work
After a visitor rejects, none of the 7 consent-requiring cookies below may be set or kept.
- 3Name every cookie in your policy
List each cookie by name with its purpose, provider (Meta Platforms, Inc.) and lifetime.
- 4Check the result, not the settings
Open your site in a private window, reject cookies, and look at what was stored. Or run a scan and compare the three stages.
Tools that help: tracking script blocker · Consent Mode v2 generator
Other vendorsAnd the cookies they set
Does Facebook & Meta Pixel wait for consent on your site?Scan it in 2 minutes
Free scan · every cookie before consent, after Reject and after Accept