Federated Learning of Cohorts (FLoC)

Tier: Free, Premium, Ultimate Offering: Self-managed, GitLab Dedicated

Federated Learning of Cohorts (FLoC) was a proposed feature for Google Chrome that categorized users into different cohorts for interest-based advertising. FLoC has been replaced by the Topics API, which provides similar functionality to help advertisers target and track users.

By default, GitLab opts out of user tracking for interest-based advertising by sending the following header:

Permissions-Policy: interest-cohort=()

This header prevents users from being tracked and categorized in any GitLab instance. The header is compatible with the Topics API and the deprecated FLoC system.

To enable user tracking for interest-based advertising:

  1. On the left sidebar, at the bottom, select Admin.
  2. Select Settings > General.
  3. Expand Federated Learning of Cohorts (FLoC).
  4. Select the Participate in FLoC checkbox.
  5. Select Save changes.