On this page
What this issue is
Global Privacy Control (GPC) is a signal a browser or extension sends to say: "I opt out of the sale or sharing of my personal data." It appears in two places. Your server sees an HTTP header, Sec-GPC: 1. Your page scripts can read navigator.globalPrivacyControl, which is true when the signal is on.
Why it costs you leads or sales
The main risk is legal and reputational, not a broken button. Ignoring a recognised opt-out can expose you to complaints and regulator attention. Visitors who use GPC are privacy-minded, and they may notice that the opt-out was not honoured.
- Visitor turns on GPCBrowser sends Sec-GPC: 1
- Page loadsSignal is available to scripts
- Consent tool ignores itNo opt-out is recorded
- Ad tags fireMeta, Google Ads, TikTok send data
The signal is sent, but nothing in the page acts on it.
How to check if your site has it
Turn GPC on in a browser
Use Firefox (Settings > Privacy & Security > Tell websites not to sell or share my data) or Brave, which sends GPC by default. Or install a GPC-enabled extension in another browser.
Confirm the signal is on
Open your site, open DevTools > Console and run
navigator.globalPrivacyControl. It should returntrue.Watch network requests
Open DevTools > Network, reload the page and filter for
google-analytics,facebook,googleads,tiktokordoubleclick. Note which requests still fire.Check your consent tool
Open your cookie banner settings. If it shows everything as allowed or still asks as normal, it is not reading GPC.
Compare with GPC off
Repeat in a clean profile without GPC. If the requests are identical, your site ignores the signal.
console.log('GPC on:', navigator.globalPrivacyControl === true);How to fix it
The fix has two parts: detect the signal early, then make sure it blocks the tags that share or sell data. Many consent tools have a built-in GPC setting, so look there first.
Create a GPC variable
Go to Variables > New > Custom JavaScript and return
navigator.globalPrivacyControl === true. Name itGPC enabled.Add a blocking trigger
Create a Page View trigger with an exception: fire only when
GPC enabledis not true. Or add it as a trigger exception on your ad tags.Apply to ad tags
Attach the exception to Meta, TikTok, Google Ads remarketing and any tag that shares data for advertising. Publish after testing in Preview mode.
Check your consent plugin
Open the settings of your cookie plugin (for example Complianz, CookieYes or Cookiebot) and look for a Global Privacy Control or opt-out preference signal option. Enable it if present.
Test with GPC on
Reload a page in Firefox or Brave and confirm ad tags no longer load. If the plugin has no option, use the GTM or custom code method.
Use Customer Privacy settings
Go to Settings > Customer privacy and review your cookie banner and region settings. Shopify's Customer Privacy API is built to respect privacy signals when configured for the regions you choose.
Check third-party pixels
Pixels added through custom code or apps may ignore the signal. Test with GPC on and remove or gate any that still fire.
Gate scripts with custom code
In Project settings > Custom code, wrap ad pixel loading in a check for
navigator.globalPrivacyControlso they load only when it is not true. Or use a consent tool that supports GPC.
Review the cookie banner
Open Settings > Cookie Consent banner and check the available options. If GPC is not supported, gate marketing scripts with a consent tool that honours it.
Review Cookie Banner settings
Open Settings > Cookies & Visitor Data and check how marketing cookies are handled. For pixels added in Code Injection, wrap them in a GPC check.
Gate tracking code
Tracking code added in funnel or website settings runs as written. Wrap pixel scripts in a GPC check in the custom code area, or use a consent tool that supports GPC.
Read the signal before loading pixels
Check
navigator.globalPrivacyControlbefore you inject any advertising script. On the server, read theSec-GPCrequest header.Record the opt-out
Store the opt-out in your consent state so it persists across pages, and update Consent Mode to denied if you use it.
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
var gpc = navigator.globalPrivacyControl === true;
if (gpc) {
gtag('consent', 'default', {
ad_storage: 'denied',
ad_user_data: 'denied',
ad_personalization: 'denied'
});
} else {
// load your ad pixels here
}# The header arrives as $http_sec_gpc
proxy_set_header Sec-GPC $http_sec_gpc;Signal ignored
- Sec-GPC: 1 arrives but is never read
- Meta and Google Ads tags fire as normal
- Opt-out is not recorded
Signal honoured
- GPC is read before tags load
- Ad tags are blocked or set to denied
- Opt-out is stored and persists across pages
How to confirm it's fixed
- With GPC on,
navigator.globalPrivacyControlreturns true - No ad pixel requests appear in the Network tab on first load
- Consent Mode shows ad_storage, ad_user_data and ad_personalization as denied
- The opt-out is still respected after you move to a second page
- With GPC off, tags fire as before and your tracking is intact
- Forms and checkout still work with GPC on
Ignored
Leads or data lost
Ad pixels fire and share the visitor's data despite their opt-out.
Toggle to see what the visitor's opt-out does on your site.
How to prevent it happening again
- Add a GPC test to your release checklist for any change to tags or the consent tool
- Re-test after consent tool updates, theme changes and new pixels
- Make sure every new ad pixel is covered by the GPC rule in GTM or your consent tool
- Document who owns the privacy setup and review it each quarter
- Re-check after any migration to a new platform or domain
How FunnelGuard handles this
FunnelGuard does not check for this yet. Detecting whether a site honours Global Privacy Control is a possible future check, not a current feature.
What FunnelGuard does today is run your real customer journeys on a schedule and check the tracking hits sent to GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit. If a consent change breaks a tag or a form, a failed journey or missing hit can show up that way. That is a separate question from whether GPC is respected.
Questions people ask
What is Global Privacy Control (GPC)?
GPC is a browser setting that sends a signal telling websites not to sell or share the visitor's personal data. Sites can read it as the Sec-GPC: 1 header or through navigator.globalPrivacyControl in JavaScript. It is meant to work as an automatic opt-out.
How do I test if my website honours Global Privacy Control?
Turn GPC on in Firefox or use Brave, open your site and run navigator.globalPrivacyControl in the console to confirm it returns true. Then check the Network tab for ad pixel requests. If Meta, Google Ads or TikTok requests still fire, your site ignores the signal.
Is it required to honour GPC?
Some US state laws, including California's, treat GPC as a valid opt-out of sale or sharing. Rules vary by state and change, so ask a privacy professional what applies to your business. Honouring it everywhere is a simple way to stay safe.
Why is my cookie banner not reading the GPC signal?
Many banners need a setting turned on to read GPC, and some do not support it at all. Check your consent tool's settings for a Global Privacy Control or opt-out preference option. If it is missing, gate your tags in Google Tag Manager with a GPC variable.
How do I honour GPC in Google Tag Manager?
Create a Custom JavaScript variable that returns navigator.globalPrivacyControl === true. Add it as a trigger exception on your ad tags so they do not fire when it is true. Test in Preview mode with GPC on before publishing.
Does GPC replace a cookie consent banner?
No. GPC is a one-way opt-out signal, and a banner is how you collect choices from visitors. Where the law requires consent, you still need the banner, and GPC should feed into the same consent state.
Does FunnelGuard check for Global Privacy Control?
No, not yet. It is a possible future check. FunnelGuard does run your funnel journeys and check tracking hits, so it can show when tags or forms stop working, but you should test GPC manually in a browser.
Related issues
- TRK-302US state privacy opt-out link (Do Not Sell) missingFix guide
- TRK-283Tags still fire after visitor rejectsFix guide
- TRK-282Consent banner shown but tags fire before any choiceFix guide
- TRK-285Consent Mode default state not set before tags loadFix guide
- TRK-303Cookies set before consent (_ga, _fbp)Fix guide
- TRK-284Consent Mode v2 not implemented (no gcs/gcd)Fix guide