A simple zero-config plugin to opt-out of Google "Federated Learning of Cohorts" (FLoC).
A simple zero-config plugin to opt-out of Google “Federated Learning of Cohorts” (FLoC).
Federated Learning of Cohorts (FLoC) is a replacement for third party cookies in chromium browsers like Chrome to target users with ads based on their interests. The proposed solution is better than using
third party cookies, but it still raises concerns in terms of privacy and data protection.
This plugin tells your WordPress system to send a special header that disables FLoC on your website. There is no configuration needed besides installing the plugin.
If you are a developer, we encourage you to follow along or contribute to the development of this plugin on GitHub.
This plugin offers different methods implement the FLoC blocking HTTP header.
This plugin relies on the ability to deliver HTTP headers to the browser. Some Cache Plugins actively strip these HTTP headers and therefore invalidate the purpose of this plugin.
These cache plugins are known to be compatible with the Simple method:
/wp-content/plugins/
directoryYou can use the ‘Check FLoC’ link on the Plugins screen in your WordPress administration. Alternatively use an external tool to crawl your page. On example of such an external tool is the Uptrends HTTP response header check. With that tool you have to check if the “Permissions-Policy” header is present and if it contains the value “interest-cohort=()”.
The most common issues come with caching plugins, that are often stripping headers. Make sure that HTTP Headers get cached with your site in the configuration of your page cache.
The plugin does not only stop your browser from tracking with FLoC, but also the browsers from all of your users. So you’re not primarily installing the plugin for yourself, but for your users.