How the Custom Facebook Feed plugin handles GDPR, what data is transferred and stored, and where the GDPR setting lives.
Would you like to stop your Facebook feed from loading images and videos from Facebook until your visitors give consent?
In this guide, we’ll walk you through the GDPR setting in Facebook Feed. We’ll cover the consent plugins it works with and what changes in your feed until a visitor gives consent. We’ll also show how to use the Borlabs Cookie Content Blocker with your feed.
Before you get started, make sure Facebook Feed is installed and activated on your WordPress site.
Note: For details on how our plugins transfer and store data, see our GDPR disclosure.
- Choosing a GDPR Setting
- Seeing What Is Limited Before Consent
- Using a Supported Consent Plugin
- Using the Borlabs Cookie Content Blocker
- Frequently Asked Questions
Choosing a GDPR Setting
Facebook Feed includes a setting that turns on its GDPR related features. It’s in the free version and in Facebook Feed Pro.
By default, it is set to Automatic. The GDPR features then turn on by themselves when one of the supported consent plugins is active on your site.
- In the WordPress dashboard, go to Facebook Feed » Settings. Then click the Feeds tab.
- In the GDPR box, open the dropdown and choose Automatic, Yes, or No.
- When you’re done, click Save Changes.
Each option works as follows.
- Automatic turns the GDPR features on only when one of the supported consent plugins is active. Facebook Feed then loads images and videos directly from Facebook once a visitor gives consent through that plugin. The setting shows the name of the plugin it found. If it finds none, it says “No GDPR consent plugin detected.” It then suggests that you install a compatible consent plugin or manually turn the setting on for all visitors.
- Yes shows the GDPR compliant version of the feed to all visitors. No requests are made to third-party websites, so some features of the plugin are limited.
- No turns the GDPR features off. The plugin works as normal and loads images and videos directly from Facebook.
Seeing What Is Limited Before Consent
Before a visitor gives consent, the GDPR compliant version of the feed does not load images and videos directly from Facebook’s servers. Because of this, some features are disabled or limited.
- Only local images (not loaded directly from Facebook) show in the feed.
- Blank placeholder images show until the images are available.
- The images in the visual header don’t show.
- To play a video, visitors click a link that opens the video on Facebook.
- The Load more button is disabled.
- The Like Box widget is disabled.
- For album feeds, the plugin’s own list says only the album cover image is available in the lightbox.
- The largest image in the lightbox is 700 pixels wide. If your images are smaller, reset the resized images on the Advanced tab, as described in Allowing the Plugin to Store Local Images.
The plugin shows the same list in a What will be limited? link below the dropdown. It appears when the setting is on Yes, or on Automatic with a consent plugin detected.
In Facebook Feed Pro 4.14.0, GDPR mode changed how it handles images. Album and multi-image post images now show from local copies before consent. In Automatic mode, the plugin also reliably blocks Facebook’s servers (CDN) until consent.
Allowing the Plugin to Store Local Images
The GDPR compliant version of the feed relies on local copies of your images, which Facebook Feed Pro saves on your site. In Facebook Feed Pro, the plugin checks the following on your server.
- A folder for the resized images can be created in your WordPress uploads folder. If it can’t, ask your host to allow it.
- The database tables that store information about the resized images can be created. Your MySQL user needs “create” capabilities for this. If it doesn’t have them, ask your host for help.
- An image editor is available on your server, so WordPress can resize images. If it isn’t, ask your host for help.
For more help, see our guide on images that are missing or showing errors in your feed.
In Facebook Feed Pro, you can also reset the resized images.
- To do this, go to Facebook Feed » Settings. Then click the Advanced tab.
- In the Optimize Images box, click Reset.
In Facebook Feed Pro, the help text for Optimize Images says it is turned on automatically when the GDPR setting is on.
Using a Supported Consent Plugin
With the Automatic option, Facebook Feed checks for the following nine consent plugins. These are the names the plugin shows on the GDPR setting.
- WPConsent by the WPConsent team
- Real Cookie Banner by devowl.io
- GDPR Cookie Compliance by Moove Agency
- Cookie Notice by dFactory
- GDPR Cookie Consent by WebToffee
- CookieYes | GDPR Cookie Consent by CookieYes
- Cookiebot by Cybot A/S
- Complianz by Really Simple Plugins
- Borlabs Cookie by Borlabs, including version 3.0 and later
When one of these plugins is active, its name shows below the dropdown on the Feeds tab. This lets you confirm that the setting detected it.
To see which consent plugins each of our plugins works with, see our GDPR consent plugin list.
Using a GDPR plugin that is not listed here? Some plugins have a setting to run custom JavaScript code once the cookie notice has been accepted. If yours does, see our guide on adding support for the GDPR setting in unsupported GDPR plugins.
Using the Borlabs Cookie Content Blocker
You can use the Content Blocker in Borlabs Cookie to hide your Facebook feed until the visitor has accepted it. The feed then needs the plugin’s start function to run once the visitor accepts. To set this up, add the function to the Facebook content blocker.
Here is the function you will add.
cff_init();
- In the WordPress dashboard, go to Borlabs Cookie » Content Blocker.
- On the Content Blocker page, click Edit on the Facebook row.
- On the edit page, scroll down to JavaScript » Initialisation. At the bottom, add the function above.
- Next, click Save Changes.
- Then clear any website cache. See How to Clear Your Cache in WordPress for a step-by-step guide.
Your Facebook feed now loads correctly through the Borlabs Cookie Content Blocker.
That’s it! You now know how to set up the GDPR setting in Facebook Feed and how to use it with the Borlabs Cookie Content Blocker. To add support for a consent plugin that isn’t on the list, see our guide on adding support for the GDPR setting in unsupported GDPR plugins.
Frequently Asked Questions
Below, we’ve answered some of the most common questions about GDPR in Facebook Feed.
Do I need a consent plugin to use the GDPR setting?
No. If you choose Yes in the GDPR setting, the plugin shows the GDPR compliant version of the feed to all visitors, with no consent plugin involved. See Choosing a GDPR Setting.
What is the default GDPR setting?
The default is Automatic. The GDPR compliant version only loads when one of the supported consent plugins is active. See Using a Supported Consent Plugin for the list.
Is the GDPR setting in the free version?
Yes. The free version has the GDPR setting on its Feeds tab, with the same three options as Facebook Feed Pro.
Why does the setting say no GDPR consent plugin was detected?
None of the nine supported consent plugins is active on your site. Install one of them, or choose Yes to show the GDPR compliant version to all visitors. See Using a Supported Consent Plugin.