Google’s new Federated Learning of Cohorts (FLoC) venture hasn’t exactly been warmly received.
There are several ways to prevent your site from becoming part of the FLoC network, you just need to pick the one most appropriate for your setup. As I host this site on GitHub Pages, all I needed to do was add a
<meta> tag to the head of my page like so:
<meta http-equiv="Permissions-Policy" content="interest-cohort()">
Et voilà! FLoC off.