Laws

CCPA, CPRA and Global Privacy Control for Websites

How the CCPA and CPRA treat ad pixels as selling or sharing, what the Do Not Sell or Share link must do, and why your site must honour Global Privacy Control.

By the allowedit team · · 8 min read

The short answer

  • California and most other US state privacy laws use an opt-out model: tracking can run, but visitors must be able to opt out of the sale or sharing of their data.
  • Ad pixels and retargeting usually count as sharing for cross-context behavioural advertising, so they need a working Do Not Sell or Share option.
  • Businesses covered by the CCPA must treat a Global Privacy Control signal as a valid opt-out, and several other states require the same for universal opt-out signals.
  • Enforcement is real: California has settled or fined businesses for ignoring GPC and for making opting out harder than opting in.

California's privacy law doesn't ask for consent before cookies the way the EU does. It asks for a way out: visitors must be able to opt out of the "sale" or "sharing" of their personal information, and ad pixels usually count as sharing. Your site also has to treat a browser's Global Privacy Control signal as that opt-out, automatically. Most other US states with privacy laws follow the same pattern.

Here's what the rules mean for a website, and how to set it up without a full EU-style banner for every American visitor.

What are the CCPA and the CPRA?

The California Consumer Privacy Act (CCPA) took effect in 2020. The California Privacy Rights Act (CPRA), passed by voters in 2020, amended it from January 1, 2023, and created a dedicated regulator, the California Privacy Protection Agency (CPPA). People usually still call the combined law "the CCPA".

It applies to for-profit businesses that do business in California and meet at least one threshold:

  • annual gross revenue above $25 million (the figure is adjusted for inflation),
  • buying, selling or sharing the personal information of 100,000 or more California consumers or households a year, or
  • earning at least half of annual revenue from selling or sharing personal information.

If you're below all three, the CCPA doesn't apply to you, though another state's law might.

What do "sell" and "share" mean?

Both are broader than they sound.

  • Sell means disclosing personal information to another business for money or other valuable consideration. Letting an ad platform collect data on your site in exchange for ad services can count.
  • Share, added by the CPRA, means disclosing personal information to a third party for cross-context behavioural advertising: targeting ads based on activity across different sites and apps.

A Meta Pixel, TikTok Pixel, Google Ads remarketing tag or LinkedIn Insight Tag on your site sends visitor data to that platform, which uses it to target ads elsewhere. That's sharing in the CPRA's sense, and often a sale too.

Cookies themselves aren't the issue. A cookie ID, an IP address and browsing activity are all personal information under the CCPA, so the trackers that send them are what matter.

What does the website need?

For a business covered by the CCPA that sells or shares personal information:

  1. A notice at collection. Tell visitors, at or before the point of collection, what you collect and why. On a website, a short banner or a clear link to your privacy policy does this.
  2. A "Do Not Sell or Share My Personal Information" link. Usually in the footer, and it must work: clicking it should stop the selling and sharing. The regulations also allow an alternative "Your Privacy Choices" link with the official toggle icon.
  3. Honour opt-out preference signals. If the browser sends Global Privacy Control, treat it as a valid request to opt out of sale and sharing. No click needed.
  4. No dark patterns. Opting out must not be harder than opting in, and the choices must be symmetrical.
  5. A privacy policy that explains all of it, updated at least once a year.

What is Global Privacy Control?

Global Privacy Control (GPC) is a browser signal. When a visitor turns it on, every request carries a Sec-GPC: 1 header and pages can read navigator.globalPrivacyControl in JavaScript. Firefox, Brave and DuckDuckGo support it, as do several privacy extensions.

if (navigator.globalPrivacyControl) {
  // The visitor has opted out of sale and sharing. Don't load ad pixels.
}

The CPPA's regulations require covered businesses to treat it as a valid opt-out request. They can also show a short note confirming the signal was honoured.

Has anyone been fined over GPC?

Yes. In August 2022, the California Attorney General announced a $1.2 million settlement with Sephora, partly because its site didn't process GPC signals while it shared data with ad and analytics partners. It was the first public CCPA enforcement action, and GPC was at its centre.

In 2025, the CPPA fined American Honda over its privacy request process, including that opting out of cookies took more steps than opting in, and the Attorney General announced a settlement with Healthline Media over, among other things, failing to honour opt-outs. The message is consistent: the opt-out must work, and it must be easy.

What about the other US states?

As of 2026, around 19 states have comprehensive privacy laws, either in force or taking effect: California, Virginia, Colorado, Connecticut, Utah, Texas, Oregon, Montana, Iowa, Delaware, Nebraska, New Hampshire, New Jersey, Tennessee, Minnesota, Maryland, Indiana, Kentucky and Rhode Island.

They share the same shape:

Typical state law
ModelOpt-out, not opt-in
What visitors can refuseSale of personal data, targeted advertising, and certain profiling
Sensitive dataUsually needs opt-in consent
Universal opt-out signalsRequired in a growing number of states, including Colorado, Connecticut, Texas, Oregon and Montana, each on its own timeline
ThresholdsUsually based on how many state residents' data you process; Texas and Nebraska use different tests

Rather than track each state separately, most sites treat all of them the same way: notice, a working opt-out, and GPC honoured everywhere in the US.

How should a site handle US visitors?

The practical setup is an opt-out banner shown to visitors in states with privacy laws:

  • Tracking can load by default, because the law allows it.
  • A short banner or footer link explains it and offers Do not sell or share my personal information.
  • Clicking it stops ad pixels and other sharing straight away, and the choice is remembered.
  • If the browser sends GPC, the opt-out applies automatically, before any ad pixel loads.

If you also use Google Ads, send Google a Consent Mode update when someone opts out, so its tags stop using the data for ads. See Google Consent Mode v2, explained.

Visitors in states without a privacy law can get a simple notice or nothing at all. Some businesses choose to give every US visitor the same opt-out, which is simpler and never wrong.

How allowedit handles the US

allowedit's region rules place each visitor by country and, in the US, by state, at the edge:

  • Visitors in the 19 states above get the opt-out mode by default: trackers run, and the banner offers "Do not sell or share my personal information". You can switch these states to opt-in or a notice if you'd rather.
  • Global Privacy Control is honoured automatically, everywhere: a browser with GPC on is opted out of the marketing category before any marketing tag loads, and the choice is logged as a GPC opt-out. More on how GPC works in allowedit.
  • Everywhere else in the US, you choose a notice or no banner.
  • Ad pixels like Meta, TikTok, LinkedIn and Pinterest are among the 40+ trackers blocked automatically once a visitor opts out.
  • Consent Mode gets an update with ad_storage, ad_user_data and ad_personalization denied after an opt-out.
  • The consent log records each opt-out with a random consent id, the time, the choice and the state, with no IP address stored, so you can show requests were honoured.

You can also add a "Do not sell or share" link anywhere on your site that reopens the preferences, with href="#cookie-settings" or the data-allowedit="settings" attribute. The region rules guide shows how.

The short version

For US visitors, think opt-out, not opt-in. Tell people what you collect, give them a working "Do not sell or share" choice, and treat Global Privacy Control as that choice without asking. Do that for every state with a privacy law and you've covered the common ground. The legal detail for California is on our CCPA cookie consent page.

Frequently asked questions

Does the CCPA apply to my small business?

Only if you meet one of its thresholds: annual gross revenue above about $25 million (adjusted for inflation), buying, selling or sharing the personal information of 100,000 or more California consumers or households a year, or earning at least half your revenue from selling or sharing personal information. Other states have their own thresholds, often based on the number of residents whose data you process.

What is Global Privacy Control?

A browser setting that sends a signal (the Sec-GPC header and navigator.globalPrivacyControl in JavaScript) telling every site the visitor wants to opt out of the sale or sharing of their data. Firefox, Brave, DuckDuckGo and several extensions support it.

Do I need a cookie banner for California?

Not an opt-in banner. You need a notice at collection and a clear way to opt out, usually a Do Not Sell or Share My Personal Information link. Many sites show a small opt-out banner to US visitors because it covers both.

Does honouring GPC mean turning off all analytics?

Not necessarily. GPC is an opt-out of sale and sharing, which mainly affects advertising and cross-site tracking. First-party analytics that isn't shared for advertising can usually keep running. allowedit treats GPC as an opt-out of the marketing category.

Which US states does allowedit's opt-out cover?

California, Virginia, Colorado, Connecticut, Utah, Texas, Oregon, Montana, Iowa, Delaware, Nebraska, New Hampshire, New Jersey, Tennessee, Minnesota, Maryland, Indiana, Kentucky and Rhode Island.