Facebook SDK / Social Plugins
FunctionalFacebook JavaScript SDK and social plugins (Like button, comments, share).
How to block it until consent
The Facebook SDK sets sb, datr, fr, wd and other cookies even before user interaction. Because Facebook is a joint controller in Meta's own terms, loading the SDK requires marketing consent in most EU guidance. Treat similarly to Meta Pixel.
Detection signals
Host domains
- connect.facebook.net
- facebook.com
- fbcdn.net
Cookies set
- sb
- datr
- fr
- wd
- c_user
- xs
- presence
Request patterns
- /en_US/sdk.js
- /xfbml/
- /plugins/
Privacy-friendly alternatives
Categorisation follows common EU/DPC guidance. Your specific deployment may change the category (e.g. Stripe on a checkout page vs. a marketing page).