Back to all cookies

Meta cookies

Meta sets 11 cookies on websites that load its scripts. Below is the full list with purpose, expiry, and whether each one needs GDPR / ePrivacy consent.

Source: Meta Platforms Ireland Ltd.Official cookie reference

Which Meta cookies does your site set before consent?

Scan my website free

Open the free website cookie checker →

_fbpAdvertisingExpires: 3 months

Set by Meta Pixel (used by both Facebook and Instagram Ads) to identify browsers for ad delivery, conversion tracking, and remarketing.

_fbcAdvertisingExpires: 3 months

Stores the last-click ID (fbclid) from a Facebook or Instagram ad that brought the visitor to the site. Used for ad attribution and conversion tracking.

_fbqAdvertisingExpires: 3 months

Alternative cookie name occasionally written by older Meta Pixel deployments and tag-manager templates. Functionally interchangeable with _fbp — used to identify the browser for ad delivery and conversion tracking. If both _fbp and _fbq appear on the same site, the pixel implementation is duplicated and should be consolidated.

frAdvertisingExpires: 3 months

Set by facebook.com when Meta widgets are embedded (Like button, comments, login). Used to deliver ads, measure ad performance, and personalise ad content across Facebook and Instagram.

datrSocial MediaExpires: 2 years

Browser identifier set by facebook.com. On third-party sites that embed Meta widgets (Like button, comments, Login) it enables Meta to recognise the browser across sessions — a cross-site tracking signal that requires consent.

sbSocial MediaExpires: 2 years

Browser identifier used by Meta for account-recovery flows and authentication security. Surfaced on third-party sites through Meta embeds, contributing to cross-site visitor identification.

c_userSocial MediaExpires: 1 year

Stores the Facebook / Instagram user ID of the signed-in visitor. When a third-party page loads a Meta embed, the cookie is sent to Meta — directly identifying the visitor across the web.

xsSocial MediaExpires: 1 year

Session token authenticating signed-in Facebook / Instagram users. Sent to Meta from any third-party page embedding a Meta widget while the visitor is logged in to Meta.

wdFunctionalExpires: 1 week

Stores the visitor's browser window dimensions so Meta can render embeds at the correct size. Set on facebook.com.

presenceFunctionalExpires: Session

Stores the visitor's chat and presence state for Facebook Messenger / Instagram Direct. Session-only.

localeFunctionalExpires: 1 week

Stores the user's language preference for Meta-rendered content (Like button, embeds, Messenger).

Catch unconsented Meta cookies

Scan my website free

Open the free website cookie checker →