TagProofHAR FORENSICS
Privacy Engineering Guide · California Global Privacy Control

How to Test If Your Website Honors California Sec-GPC: 1 (Global Privacy Control)

Under CCPA/CPRA enforcement, websites must honor browser-level Global Privacy Control signals automatically without forcing visitors to click a cookie banner. Yet in our 2026 audit of 72 US sites, 59.7% ignored Sec-GPC: 1.

Why Manual Chrome Tests Often Give False Results

Most CMP scripts check navigator.globalPrivacyControl === true in JavaScript, while server-side edge workers inspect the HTTP header Sec-GPC: 1. Testing only one of the two — or testing in a browser profile with cached consent cookies — hides real leaks.

Reproduce Locally with Playwright (Open Source)

context = browser.new_context(
    extra_http_headers={"Sec-GPC": "1", "DNT": "1"},
    record_har_path="gpc.har",
)
context.add_init_script(
    "Object.defineProperty(navigator, 'globalPrivacyControl', { get: () => true });"
)

Full minimal reproduction script: github.com/tangyipeng/pixel-cmp-ada-benchmark-2026.

Frequently Asked Questions

What counts as a Sec-GPC: 1 failure in a HAR capture?

Any outbound ad-targeting, cross-context behavioral advertising, or third-party session replay request (facebook.com/tr, analytics.tiktok.com, doubleclick.net, clarity.ms) firing during a clean GPC session indicates the opt-out signal was not enforced.

How can I test my website without installing Playwright?

Paste your URL into TagProof to run Cold Load, California Sec-GPC: 1, and Reject All + Reload automatically in 30 seconds with zero signup.

Test your website's California Sec-GPC: 1 response in 30 seconds

Zero signup. Free instant score + live screenshot; optional $39/$79 one-time downloadable PDF & raw gpc.har evidence.

Run Free GPC HAR Audit →