All articles

Does your site honour Global Privacy Control?

Some browsers tell every site "don't sell or share my data". In California that signal counts as an opt-out. Here's how to check that your site listens.

Naini Anjaneyulu, 5 December 2026

Brave sends it with every request. So does DuckDuckGo's browser, and Firefox can be set to. The signal is called Global Privacy Control, and in California a website has to treat it as if the visitor had clicked "Do Not Sell or Share My Personal Information" themselves.

Most sites have that link in the footer. Far fewer check whether the browser has already answered.

Why it matters

In 2022 California's Attorney General settled with Sephora for $1.2 million. One of the problems: the site ignored GPC while passing visitor data to advertising partners. Since then more states have written browser opt-out signals into their privacy laws, including Colorado, Connecticut, Texas, Oregon, Montana, New Jersey and Maryland. The list changes every year, so check a current tracker such as the IAPP's before relying on any list, this one included.

Step 1: turn the signal on

Open the site in Brave, or in Chrome with a GPC extension. Press F12 and type this into the Console:

navigator.globalPrivacyControl

It should say true. If you're outside the US, connect to a VPN location in California first. Most consent tools only apply their US rules to visitors they think are in the US, so from India or Europe you'd be testing the wrong rule.

Step 2: see what the consent tool decided

On a OneTrust site, type OnetrustActiveGroups. The Targeting category, C0004 on most setups, should be missing from the list, even though you haven't touched the banner or the footer link.

Other consent tools keep the choice in their own cookie. Opening their settings panel is usually quicker: many show a note saying the browser's opt-out signal was honoured.

Step 3: check what actually leaves the browser

Open the Network tab, filter for facebook.com/tr, then for doubleclick and googleadservices, and reload. With GPC on, pixels that sell or share data should stay quiet. If the site uses Google Consent Mode, GA4 requests should carry gcs=G101: analytics granted, ads denied. The full table of gcs values is in Does your cookie banner block anything?

If the test fails

In OneTrust, GPC is switched on in two places. The geolocation rule has to honour it, and each category that should obey it needs its own GPC setting turned on. Turn on only the first and nothing changes, while the rule still looks enabled.

Then check that you really landed in the US rule. This shows the country and state OneTrust thinks you're in:

OneTrust.getGeolocationData()

What shouldn't change

GA4 usually keeps running for these visitors. GPC is about selling and sharing data, not about measuring your own site. If your analytics goes quiet when you test with GPC on, the setup is blocking more than the signal asks for. That can be a deliberate choice, but make sure someone actually chose it.

More articles

Opt-in for Europe, opt-out for the US: one OneTrust setup for both

European law wants permission before tracking. US state laws want a clear way to refuse. Geolocation rules let one site do both.

7 minute read

How to read OneTrust's OptanonConsent cookie

OneTrust writes every choice into one cookie. Decode it and you can answer "what did this visitor agree to?" in seconds.

5 minute read

How OneTrust tells Google Tag Manager what a visitor chose

One variable and two events carry every consent choice from OneTrust into GTM. Here's how to read them and build triggers that don't miss.

6 minute read

Mapping OneTrust categories to Google Consent Mode

OneTrust thinks in cookie categories, Google thinks in seven consent types. A mapping that works, and the one setting that causes double defaults.

7 minute read

Consent checks or triggers? Two ways to make a tag wait in GTM

Google Tag Manager can hold a tag back with consent settings or with trigger conditions. They behave differently when a visitor changes their mind.

6 minute read

Does your cookie banner block anything?

A banner can look right and still let every tag fire. Four checks, all in your own browser.

5 minute read

How to check your dataLayer in five minutes

A quick routine, using only your browser, to see whether your site is sending the data your tags depend on.

6 minute read

Dashboards that answer one question well

Why most dashboards get ignored, and a simple way to design ones that people open every week.

7 minute read

Why tags break after a site update

The usual reasons tracking fails after a release, and a short checklist to stop it happening to you.

6 minute read

Can you trust your data?

Tell me what you track, and what you ask visitors before you track it.

Start a project