V for Vendetta-style Guy Fawes masks

image by Ahmed Zayan

Opt out of Google’s FLoC User Tracking on Netlify

Google has recently built FLoC user-tracking into Chrome.

RailsConf 2024

I'm co-chairing RailsConf 2024 in Detroit May 7–9. Come and join us 

I covered how to opt out of FLoc in a Ruby on Rails application but a few of my sites—including this use Jekyll, hosted on Netlify.


…a custom response header to your Netlify configuration.


  for = "/*"
    Permissions-Policy = "interest-cohort=()"


… a specific headers file.


  Permissions-Policy: interest-cohort=()

For Jekyll you’ll need to add the following to ensure the the headers configuration ends up in the folder you are deploying.


# ...
include: [_headers]
# ...

Why? Why not?

I covered the “why” in the original article.

Brighton Ruby 2024

Still running UK’s friendliest, Ruby event on Friday 28th June. Ice cream + Ruby 

Last updated on May 24th, 2021 by @andycroll

An email newsletter, with one Ruby/Rails technique delivered with a ‘why?’ and a ‘how?’ every two weeks. It’s deliberately brief, focussed & opinionated.