For GitHub Pages, we ought to be able to opt out of computation in Google’s Federated Learning of Cohorts (FLoC).
Currently this is not possible via HTML, see <https://github.com/WICG/floc/pull/47>:
How do you opt out if you are on a shared hosting plan where you can’t set HTTP headers?
There isn’t a way right now, and I agree that we should add one.
Therefore, can we have GitHub Pages set the required header for opting out?
For example, a site can opt out of all FLoC cohort calculation by sending the HTTP response header: