Customer support

Facebook Chat Plugin

The Facebook Chat Plugin embeds a Meta Messenger chat widget on your website, allowing visitors to chat with your Facebook page. It loads the Facebook SDK from Meta, sets Meta cookies and may link conversations to the visitor Facebook account.

Overview

What does Facebook Chat Plugin do?

What is the Facebook Chat Plugin?

The Facebook Chat Plugin, also known as the Messenger chat widget, is a product from Meta that embeds a live chat interface directly into a website. When the plugin loads it requests the Facebook SDK from Meta servers, which renders a Messenger bubble in the corner of the page. Visitors can start a conversation that is handled through the website owner's Facebook page, even without a Facebook account, though logged-in users benefit from conversation history.

Data and Cookies Collected

Meta sets multiple cookies when the plugin loads. The datr cookie (2 years) identifies the browser for security and fraud prevention. The sb cookie (2 years) stores browser details. The wd cookie (session) records the screen dimensions. The fr cookie (90 days) is used for advertising targeting and measurement. When the visitor is logged in to Facebook, the c_user and xs session cookies are also present and link all activity to the authenticated account. The visitor IP address is sent to Meta on every request to connect.facebook.net and related domains.

GDPR and ePrivacy Implications

Loading the Facebook Chat Plugin triggers the placement of Meta cookies and the transfer of personal data to Meta before any conversation takes place. Under the ePrivacy Directive this requires prior consent. Under GDPR, the website operator and Meta are joint controllers for the processing triggered by the plugin, as confirmed by the Court of Justice of the European Union in the Fashion ID ruling. The high risk classification reflects the advertising cookies set, the potential link to a Facebook identity and the US data transfer.

Consent Requirements

The Facebook Chat Plugin script must be blocked until the visitor has given explicit consent covering both analytics and marketing, as the fr advertising cookie is set automatically. A consent management platform should load the plugin only after opt in. Because the plugin has no cookieless mode, declining consent means the widget must not be rendered at all. Consider showing an alternative contact method such as an email link when the user has not consented.

Data Transfers Outside the EU

All data collected by the plugin is processed by Meta Platforms Inc. in the United States. Meta relies on the EU US Data Privacy Framework and standard contractual clauses as the legal transfer mechanism. Website operators should reference these safeguards in their privacy notices and conduct a transfer impact assessment if required by their supervisory authority.

Practical Compliance Steps

Obtain explicit consent before loading the plugin. Block the Facebook SDK snippet at the tag manager or server level until consent is granted. Update your privacy notice to disclose the joint controller relationship with Meta and the US data transfer. Add the plugin cookies to your cookie policy. Conduct a DPIA given the high risk classification. Consider whether a direct Messenger link or an on-site contact form could replace the plugin with lower privacy impact.

Compliance

Facebook Chat Plugin and the GDPR

Facebook Chat Plugin is classified as “Preferences”. On a site that targets European visitors, it must only load after the visitor consents, and it must be listed in your cookie policy.

Legal basis
Consent under Article 6(1)(a) GDPR
Risk level
high
Applicable regulations
GDPR, ePrivacy Directive (2002/58/EC)

Impact assessment (DPIA)

A DPIA is strongly recommended before deploying the Facebook Chat Plugin given the high risk classification. The plugin enables Meta to receive conversation content, visitor IP addresses and cookie identifiers for every page load, regardless of whether the visitor interacts with the chat. Data is transferred to Meta Platforms in the United States. Assess whether a less privacy-intrusive alternative can fulfil the same business need, and document the necessity and proportionality of the processing.

Sample text for your banner

We use the Facebook Chat Plugin on this website to allow you to contact us via Messenger. When you enable this feature, Meta Platforms will load scripts and cookies on your device and may link your visit to your Facebook account. Your conversation data and IP address will be sent to Meta in the United States. You can withdraw your consent at any time.
Cookies and trackers

What Facebook Chat Plugin sets and contacts

Tracking method
Embedded Facebook SDK and Messenger chat widget loaded from Meta domains, linking conversations to a Meta account and setting Meta cookies
Server location
United States
Data transferred outside the EU
Conversation data, the visitor IP address and Meta cookies are processed by Meta Platforms in the United States under the EU US Data Privacy Framework and standard contractual clauses

Cookies set (4)

NameTypeDurationPurpose
datrSecurity2 yearsBrowser identifier set by Meta for security and fraud prevention purposes
frMarketing90 daysAdvertising cookie set by Meta used for targeting and measuring ad campaigns across sites
sbFunctional2 yearsStores browser details such as browser type and settings for Meta services
wdFunctionalSessionRecords the screen dimensions to optimise the Messenger widget rendering

Third-party domains contacted (4)

  • connect.facebook.net
  • www.facebook.com
  • graph.facebook.com
  • facebook.com
Questions

Frequently asked questions about Facebook Chat Plugin

Can't find your question? Write to us, we answer fast.

What cookies does the Facebook Chat Plugin set?

Meta sets several cookies when the plugin loads. The datr cookie (2 years) identifies the browser for security and fraud prevention. The sb cookie (2 years) stores browser details. The wd cookie (session) records screen dimensions. The fr cookie (90 days) is used for advertising targeting and measurement. When the visitor is logged in to Facebook, the c_user and xs session cookies are also present and link all activity to the authenticated account.

Is consent required before loading the Facebook Chat Plugin?

Yes. The plugin loads the Facebook SDK which sets advertising and analytics cookies including the fr cookie before any conversation takes place. Under the ePrivacy Directive these cookies require prior consent. You must block the plugin script via your consent management platform until the user opts in to at least the marketing and analytics categories.

What is the legal basis for the Facebook Chat Plugin?

The legal basis is consent under Article 6(1)(a) of the GDPR. The website operator and Meta are joint controllers for the data collected when the plugin loads, as confirmed by the CJEU Fashion ID ruling. Both parties must have a valid legal basis. Consent covers the cookie placement and the data transfer to Meta. There is no non-consent basis for the advertising cookies the plugin sets.

Does the Facebook Chat Plugin transfer data to the United States?

Yes. All data collected by the plugin including conversation content, visitor IP addresses and cookie identifiers is processed by Meta Platforms Inc. in the United States. Meta relies on the EU US Data Privacy Framework and standard contractual clauses as the legal transfer mechanism. You should reference these safeguards in your privacy notice and conduct a transfer impact assessment if required by your supervisory authority.

Do I need a DPIA for the Facebook Chat Plugin?

Yes, a DPIA is strongly recommended. The plugin carries a high risk classification because it enables Meta to receive conversation content and cookie identifiers for every page load, not just when visitors use the chat. The combination of advertising cookies, potential account linking and US data transfers meets the threshold for a mandatory DPIA under Article 35 of the GDPR in most supervisory authority guidance.

How do I implement the Facebook Chat Plugin in a GDPR compliant way?

Block the Facebook SDK snippet until explicit consent is given covering both analytics and marketing. Use a consent management platform to control loading. Update your privacy notice to disclose the joint controller relationship with Meta and the US data transfer. Add all plugin cookies to your cookie policy. Conduct a DPIA. Consider whether a direct Messenger link or an on-site contact form could replace the plugin with less privacy impact.

Are there privacy-friendly alternatives to the Facebook Chat Plugin?

Yes. On-site contact forms process data entirely on your own server without third party cookie placement. A direct Messenger link using m.me URLs opens Messenger without loading any SDK on your site. Live chat tools such as Crisp, Chatwoot or Tawk.to set fewer advertising cookies and some can be self-hosted. These alternatives reduce or eliminate the joint controller issue and the advertising cookies.

How should I update my cookie policy for the Facebook Chat Plugin?

Your cookie policy should list datr (2 years, browser identification and security), sb (2 years, browser details), wd (session, screen size), fr (90 days, advertising and measurement), and note that c_user and xs may be present for logged-in Facebook users. Identify Meta Platforms Inc. as the data controller for these cookies, state the legal basis as consent, and reference the US data transfer safeguards.

Liscio

Liscio is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. Liscio supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, Liscio ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.

Preferences

SiteGPT

SiteGPT is an AI-powered platform that leverages artificial intelligence and machine learning to help businesses automate processes, generate insights, and enhance digital experiences. It provides intelligent automation, natural language processing, and predictive analytics. SiteGPT integrates with existing workflows and tools to deliver AI-driven optimization across marketing, customer service, and operations. With scalable infrastructure, SiteGPT makes advanced AI accessible to all teams.

Preferences

Arabot

Arabot is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. Arabot supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, Arabot ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.

Preferences

Kustomer

Kustomer is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Kustomer integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Kustomer helps organizations maintain robust websites that meet user expectations and technical requirements.

Preferences

ClinicSense

ClinicSense is a digital marketing technology that helps businesses reach, engage, and convert their target audience online. It provides advanced targeting, campaign management, and performance analytics capabilities. ClinicSense enables marketers to deliver personalized experiences across channels, optimize campaign ROI, and gain actionable insights into customer behavior. With automation features and data-driven optimization, ClinicSense empowers marketing teams to achieve measurable growth.

Marketing

Combodo iTop

Combodo iTop is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Combodo iTop integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Combodo iTop helps organizations maintain robust websites that meet user expectations and technical requirements.

Preferences

Make your site compliant today.

Free up to 25,000 sessions a month. No credit card, no commitment.