bvdputte / kirby-floc-off
kirby 3 plugin - Disable Google's FLoC tracking
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 1
Open Issues: 0
Type:kirby-plugin
Requires
This package is auto-updated.
Last update: 2024-06-14 03:47:41 UTC
README
Disables Google's FLoC tracking for your website's visitors by adding a 'Permissions-Policy' HTTP header.
More information about FLoC:
- What is Federated Learning of Cohorts (FLoC)?
- Federated Learning of Cohorts (FLoC)
- Google’s FLoC Is a Terrible Idea
Installation
- unzip master.zip as folder
site/plugins/kirby-floc-off
or git submodule add https://github.com/bvdputte/kirby-floc-off.git site/plugins/kirby-floc-off
composer require bvdputte/kirby-floc-off
That's it. The plugin is already functional and activated and should exclude your website from FLoC tracking.
If an existing header is already been set for Permissions-Policy
, it won't be overwritten by this plugin.
Usage
This plugin adds an HTTP header to your Kirby 3 website that disables Google's "Federated Learning of Cohorts" tracking. The following header will be added:
Permissions-Policy: interest-cohort=()
Options
- Disable plugin:
// config.php return [ 'bvdputte.flocoff.enabled' => false ];
Disclaimer
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
License
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.