After · opt-out gates optional advertising
An active GPC signal blocks the optional request.
Here, a native GPC signal, the clearly labelled simulator, or the separate explicit site choice blocks the optional advertising test request.
Fictional Northstar Garden Supply controls
Browser signal and site choice
Native Global Privacy Control is read from the browser when this page loads.
The effective opt-out state will be shown here after this page loads.
Loopback request controls
Try the optional and necessary requests
The optional advertising request is blocked while the effective opt-out is active. The fictional necessary request stays available in every state.
No request attempted yet.
A “Sent” entry means this page fetched and parsed the fixed JSON file from this same loopback site. The request has no tracker, identifier, or personal value.
Production boundary
Check the browser-provided header on the server
This local page reports navigator.globalPrivacyControl === true; it does not set Sec-GPC. A real service should separately inspect the header sent by the browser and apply its server-side policy.
const gpcOptOut = request.headers.get('Sec-GPC') === '1';
if (gpcOptOut) {
blockSaleSharingAndTargetedAdvertising();
}