Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
/ kirby-floc-off Public archive

kirby 3 plugin - Disable Google's FLoC tracking

Notifications You must be signed in to change notification settings

bvdputte/kirby-floc-off

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Kirby 3 Disable FLoC

Disables Google's FLoC tracking for your website's visitors by adding a 'Permissions-Policy' HTTP header.

More information about FLoC:

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

  1. 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

MIT

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.

About

kirby 3 plugin - Disable Google's FLoC tracking

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages