# US state privacy laws and Global Privacy Control: a guide for engineers

> Which regulators say a business must honour the GPC signal, what the Sec-GPC header means in code, and the consent and data-request plumbing around it.

- Page: https://deependra.in/writing/us-state-privacy-global-privacy-control
- Type: Article
- Last updated: 2026-11-02
- Published: 2026-10-11; updated 2026-11-02
- Reading time: 8 min
- Topics: privacy, data-protection, compliance
- Author: [Deependra Vishwakarma](https://deependra.in/about), senior software engineer in Mumbai

## In short

Global Privacy Control is the Sec-GPC: 1 request header (and navigator.globalPrivacyControl) that tells a site not to sell or share the visitor’s data. California’s privacy agency, Colorado (from 1 July 2024) and Connecticut (from 1 January 2025) say covered businesses must honour such a signal. Read it on the server, keep sale-or-share tags and exports off for that request, store the opt-out, publish /.well-known/gpc.json, and answer data requests through a pipeline with clocks and a data map. Confirm which laws apply with your counsel.

## Do I have to honor Global Privacy Control?

Yes, if California's or Connecticut's privacy law covers your business: the regulators say covered businesses must honor an opt-out preference signal such as Global Privacy Control. Browsers send it as the Sec-GPC: 1 header and as navigator.globalPrivacyControl. Colorado says the same (see the table). Whether a law covers you is for your counsel.

- **Detect it on the server:** the request header `Sec-GPC: 1`. The value must be exactly "1".
- **Read it in the browser:** `navigator.globalPrivacyControl` is `true` when the header would be sent.
- **Switch off:** sale-or-share tags and server-side exports for that request, and store the opt-out.
- **Say so:** an optional `/.well-known/gpc.json` and your privacy policy describe what the site does.

_Last verified: 2 November 2026, against the [California Privacy Protection Agency FAQ](https://cppa.ca.gov/faq.html), the [California](https://oag.ca.gov/privacy/ccpa/gpc) and [Connecticut](https://portal.ct.gov/ag/sections/privacy/the-connecticut-data-privacy-act) Attorney General pages and the [W3C specification](https://www.w3.org/TR/gpc/) (Working Draft of 24 September 2026). Colorado's Attorney General page would not load that day, so its row in the table keeps my earlier check. This is engineering guidance, not legal advice._

Global Privacy Control (GPC) is a browser signal, sent as the HTTP request header `Sec-GPC: 1` and readable by scripts as `navigator.globalPrivacyControl`, that tells a website its visitor does not want their personal data sold or shared. Several US state privacy laws require the businesses they cover to treat a signal like this as a valid opt-out request, so for an engineering team GPC is a requirement with a header and a deadline, not a preference in a cookie banner.

I build and review web platforms for US teams from Mumbai, and the opt-out plumbing is where I most often find a gap between the privacy policy and what the code actually does. This guide covers which regulators say what about the signal, what honouring it means in code, and the request-handling machinery around it. It is engineering guidance from the regulators' own pages, not legal advice: which laws apply to your business, and what they require of it, are questions to confirm with your counsel.

## Which states require honouring the signal?

Each state describes it in its own words: California's privacy agency speaks of an "opt-out preference signal", Colorado's Attorney General of a "universal opt-out mechanism". The three regulators below say plainly that a business they cover must honour one, and name GPC.

| State | What the regulator says | From | Primary source |
|---|---|---|---|
| California | Businesses "must honor opt-out preference signals" that meet certain requirements, such as GPC, as a valid request to opt out of the sale or sharing of personal information | In force under the CCPA regulations | [California Privacy Protection Agency FAQ](https://cppa.ca.gov/faq.html); [California Attorney General on GPC](https://oag.ca.gov/privacy/ccpa/gpc) |
| Colorado | Businesses within the Colorado Privacy Act's thresholds must let consumers opt out of the sale of personal data and targeted advertising using GPC, currently the only universal opt-out mechanism the Department of Law recognises | 1 July 2024 | [Colorado Attorney General: universal opt-out](https://coag.gov/opt-out/) |
| Connecticut | All controllers subject to the Connecticut Data Privacy Act must honour opt-out preference signals, sent from a platform that lets the controller determine whether the consumer is a Connecticut resident | 1 January 2025 | [Connecticut Attorney General: the CTDPA](https://portal.ct.gov/ag/sections/privacy/the-connecticut-data-privacy-act) |

I've listed only the three regulators whose own pages I checked for this guide; other state laws may carry similar duties with their own dates, so don't read the table as complete. Each law also has its own applicability tests (revenue, the number of residents whose data you process, or the share of revenue from selling data), so the first question is which laws reach you at all. That list comes from your counsel; the engineering below works for all of them.

Colorado adds one documentation duty worth copying everywhere: its Attorney General's page notes that a business must explain in its privacy policy how it processes requests made through a universal opt-out mechanism, including GPC.

## What is the signal, exactly?

The [GPC specification](https://www.w3.org/TR/gpc/) is a W3C Working Draft (the version I read is dated 24 September 2026). The parts an engineer needs:

- **The header.** A browser with GPC turned on sends `Sec-GPC: 1` on its requests. The value is exactly the character "1"; a server must ignore any other value. If a request somehow carries several `Sec-GPC` headers and at least one is exactly "1", the server treats the request as carrying the signal.
- **The script property.** `navigator.globalPrivacyControl` is `true` when the header would be sent and `false` otherwise. It exists on `Navigator` and `WorkerNavigator`, so service workers can read it too.
- **The support resource.** A site may publish `/.well-known/gpc.json`, a JSON object whose `gpc` member is `true` if the site intends to honour the signal at least where it is legally required to, with a `lastUpdate` date. It states awareness and intent; it does not prove what a given page does.

The header is the one to trust, because it arrives before any of your JavaScript runs. In the browser, `navigator.globalPrivacyControl === true` is useful for showing a visitor that their choice was received, but act on the header.

## What does honouring it mean in code?

Read the signal on the server, as early as you can, and make it part of the request's context:

```ts
// The Fetch API joins repeated headers with ", ", so check every value.
export function sendsGpc(headers: Headers): boolean {
  const raw = headers.get('sec-gpc') ?? ''
  return raw.split(',').some((value) => value.trim() === '1')
}
```

Then decide, before the page renders, what the opt-out switches off. In the US laws the signal is about selling or sharing personal data and, in Colorado and Connecticut, targeted advertising. In practice that usually means:

1. **Third-party tags that sell or share.** Advertising pixels, cross-site retargeting, data-broker scripts. Don't load them for a request with the signal, rather than loading them and asking them to behave. Server-side rendering makes this simple: the decision is made before the tag manager ever reaches the browser.
2. **Server-side flows that sell or share.** Conversion APIs, audience uploads and data feeds to partners need the same flag, because they never pass through the browser at all.
3. **The record.** Store that the signal was received and honoured: on the session, and on the account when the visitor is signed in, so the next server-side export respects it. Your counsel decides how far an opt-out must follow a known person across devices; the data model should make either answer easy.
4. **The privacy policy.** Say what the site does with the signal, in words that match the code.

Two edge cases come up every time. A signed-in user without the signal, who opted out earlier, stays opted out: the stored choice wins. And a site that can't tell where a visitor is should not assume they're outside every state that requires the signal; honouring it for everyone is usually simpler and cheaper than geolocating, which is a call for your counsel and your product team together.

## Where does consent fit?

GPC is an opt-out signal. It sits beside consent, not in place of it. Some state laws require consent before certain processing: the [Colorado Privacy Act](https://coag.gov/resources/colorado-privacy-act/) before collecting and processing sensitive data, for example, and the Connecticut law before processing sensitive data too. That needs a recorded yes before the processing starts, whatever the browser sends. I build both on one small piece of plumbing:

- one server-side function that answers "may this request do X?", reading the signal, the stored choices and the consent records;
- every tag, export and job asks that function rather than reading cookies on its own;
- each consent stores its text, version and time, so you can show what someone agreed to.

That keeps the rules in one place, testable, and changeable when a new state's law takes effect.

## How do you answer data-subject requests on time?

The rights to know, delete and correct come with deadlines. The [California Privacy Protection Agency](https://cppa.ca.gov/faq.html) states them plainly: confirm receipt of a request to delete, correct or know within 10 business days and respond substantively within 45 calendar days, extendable by another 45 with notice; comply with a request to opt out of sale or sharing, or to limit the use of sensitive personal information, as soon as feasibly possible and within at most 15 business days. Other states set their own windows.

Deadlines like these are met by a pipeline, not by an inbox:

1. **Intake** through a form and an email address, each request getting an ID and a clock that starts on receipt.
2. **Verification** proportionate to the request: an opt-out needs none, deleting an account needs proof that the requester owns it.
3. **A data map** of every system and vendor that holds personal data, kept in the repository and updated with the code, so the request reaches every copy.
4. **Fan-out** to each system as a job (export, delete, correct), with the result recorded, including the vendors you must instruct.
5. **A response** generated from those results, and a log you can show a regulator.

Backups and logs need a written policy: what is deleted, what ages out, and how a restored backup is cleaned before it goes live.

## A short checklist

- The server reads `Sec-GPC` on every request and puts the result in the request context.
- No sale-or-share tag loads for a request with the signal; server-side exports check the same flag.
- The opt-out is stored on the session and, when known, on the account.
- `/.well-known/gpc.json` says what the site does, with a date.
- The privacy policy describes how the signal is processed.
- Requests have IDs, clocks and a data map behind them; deletion reaches vendors and backups.
- An automated test sends `Sec-GPC: 1` and asserts that no advertising tag appears in the page.

## How I do this

A [security audit](https://deependra.in/services/secure/security-audit) of a US-facing product includes the privacy plumbing: I send the signal and watch what the page and the server actually do, read the data map against the code, and report the gaps with fixes. When I build the platform myself, under [web platform development](https://deependra.in/services/build/web-platforms), the request context, the consent function and the request pipeline go in from the first sprint. The [market page for the United States](https://deependra.in/markets/united-states) has the working hours, contracts and the other rules I design for there.

## Sources

1. [California Privacy Protection Agency: FAQ](https://cppa.ca.gov/faq.html)
2. [California Attorney General: Global Privacy Control](https://oag.ca.gov/privacy/ccpa/gpc)
3. [Colorado Attorney General: universal opt-out and the Colorado Privacy Act](https://coag.gov/opt-out/)
4. [Colorado Attorney General: the Colorado Privacy Act](https://coag.gov/resources/colorado-privacy-act/)
5. [Connecticut Attorney General: the Connecticut Data Privacy Act](https://portal.ct.gov/ag/sections/privacy/the-connecticut-data-privacy-act)
6. [W3C: Global Privacy Control (GPC), Working Draft](https://www.w3.org/TR/gpc/)

## Related service

- [Security audit and penetration test](https://deependra.in/services/secure/security-audit) (Security and compliance engineering): An attacker's view of your application and infrastructure, and a fix list you can act on.
- [SaaS development and web platforms](https://deependra.in/services/build/web-platforms) (Product engineering): Custom web applications, APIs and integrations, built to be inherited.

## Related case study

- [Vayudoot Aviations](https://deependra.in/work/vayudoot-aviations-platform): Education platform.
- [Immunomate](https://deependra.in/work/immunomate-telemedicine): Telemedicine platform. 500+ registered users.

## About the author

[Deependra Vishwakarma](https://deependra.in/about), senior software engineer in Mumbai. Senior software engineer based in Mumbai. I design, build, scale and secure web platforms (Laravel, Next.js) and AI features end to end, for teams in the US, Europe, the Gulf, Japan and Korea.

---

Cite as: Deependra Vishwakarma, "US state privacy laws and Global Privacy Control: a guide for engineers", https://deependra.in/writing/us-state-privacy-global-privacy-control (last updated 2026-11-02).

This is the Markdown version of https://deependra.in/writing/us-state-privacy-global-privacy-control; the page is the canonical source. Start a project: https://deependra.in/contact
