Global Privacy Control (GPC) is a relatively new technical specification which aims at helping users opt-out from the sale of personal data. Firefox, Brave & DuckDuckGo currently support GPC and have it enabled by default.
There's already a request for this feature: https://www.drupal.org/forum/general/general-discussion/2023-11-09/gpc-signal-implementation → .
Implement the logic to check the user's preference concerning the sale of their personal data along with their DNT status.
- Add an additional explanation indicating whether or not GPC is enabled in the twig template
- Add a check for GPC status using navigator.globalPrivacyControl
Needs review
1.0
Code