Exclude Ghost from Google FLoC ad tracking

Hi everyone,

as you may probably know, Google will replace cookies-based tracking with a different kind of ad tracking: FLoC. FLoC basically uses Chrome to spy users, and could be even worse in terms of privacy than the current cookies-based system.

Websites can opt-out for this tracking, but it requires a specific HTTP header to do so: Permissions-Policy: interest-cohort=(). This header is sent by the web server – in the case of Ghost, nginx.

I wonder if it would be possible to add an option in the CLI that would ask during a Ghost install/update to deactivate FLoC tracking? I guess it’s possible to modify by hand nginx configuration files in order to deactivate FLoC tracking manually, but I’m afraid it would mess with the CLI.

If you are interested about FLoC, this blog post is a good read:

Did you (or anyone) manage to do this by hand on a self-hosted Ghost site?