bvdputte/kirby-floc-off

kirby 3 plugin - Disable Google's FLoC tracking

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 3

Forks: 1

Open Issues: 0

Type:kirby-plugin

v1.1 2021-05-13 20:54 UTC

This package is auto-updated.

Last update: 2024-05-14 03:39:44 UTC


README

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.