US privacy laws require an opt-out, not an opt-in: a way to stop the sale and sharing of personal data and targeted advertising, and, in a growing number of states, automatic handling of the Global Privacy Control signal. This page covers what California and the other states require, and links to a setup guide for each platform.
CCPA/CPRA
California's privacy law doesn't ask for an opt-in cookie banner. What it does require is a working opt-out of the sale and sharing of personal information, an opt-out mechanism that actually stops the tags responsible for selling and sharing, and automatic recognition of the Global Privacy Control signal. Under the CPRA amendments, "sharing" covers disclosing data for cross-context behavioral advertising even when no money changes hands, which describes what most advertising pixels do.
| Requirement | What the law expects |
|---|---|
| Opt-out link | Every page needs a "Do Not Sell or Share My Personal Information" link, or the alternative "Your Privacy Choices" link |
| Opt-out preference signals | Honor Global Privacy Control as a valid opt-out of sale and sharing, without requiring any additional click from the visitor |
| Sensitive data | Provide a "Limit the Use of My Sensitive Personal Information" link when you process sensitive data beyond the permitted purposes |
| Minors | Obtain opt-in consent before selling or sharing the data of consumers you know to be under 16 |
| Re-asking | Allow at least 12 months before asking a consumer who opted out to reconsider |
CookieBeam's CCPA/CPRA preset starts with these values.
| Setting | CookieBeam preset |
|---|---|
| Who it matches | Visitors in California |
| Banner mode | Opt-out: tags run from the first page view until the visitor opts out |
| Buttons | "Accept Cookies" and "Reject All" on the first layer, plus "Do Not Sell or Share My Personal Information", which opens the US opt-out panel |
| Persistent opt-out link | Off when the rule is created; turn on the rule's Do-Not-Sell link option to keep "Do Not Sell or Share My Personal Information" available after the first choice |
| Google Consent Mode defaults | All storage types start granted until the visitor opts out |
| Global Privacy Control | Honored automatically as an opt-out, with no click needed; it cannot be switched off for visitors this preset matches |
| Stored choice | Expires after 365 days, then the visitor is asked again |
CCPA/CPRA setup by platform
Google Tag Manager
Container import, consent tag verification, and per-tag consent settings.
HubSpot CMS
HubSpot's native banner, the ad pixels it does not control, and the opt-out setup.
Next.js
Loader in the root layout, client components, and GPC handling in the browser and on the server.
Shopify
App embed or theme code install, the Customer Privacy API bridge, and checkout behavior.
Squarespace
Code Injection install, the built-in analytics fields, and testing the opt-out.
Webflow
Head-code install, the Do Not Sell or Share link, GPC handling, and Webflow Analyze and Optimize.
Wix
Custom Code install, Wix's own banner and app integrations, and testing the opt-out.
WordPress
Plugin install, GPC, WP Consent API integration, and marketing plugins that keep firing.
US State Privacy Laws
Beyond California, the US state privacy laws share a common pattern: visitors can opt out of the sale of their personal data, of targeted advertising and of certain kinds of profiling, and an increasing number of states mandate that you honour a browser privacy signal as that opt-out. Sensitive data is handled differently, because most of these states require opt-in consent before you can process it.
| Requirement | What the law expects |
|---|---|
| Opt-out rights | Give visitors a way to opt out of the sale of personal data, targeted advertising and certain profiling, through the banner or a persistent link |
| Universal opt-out signals | A growing number of states require you to honour a browser signal such as Global Privacy Control as an opt-out; the list expands as new laws take effect |
| Sensitive data | Most of these states require opt-in consent before processing sensitive data. Maryland goes further: strictly necessary use only, with no sale of sensitive data permitted |
| Minors | Targeted advertising or sale involving known minors requires opt-in consent, and some states prohibit it entirely. Age bands vary by state |
| Request channels | Provide a privacy notice and a mechanism for access, deletion, correction and portability requests where the state grants those rights |
CookieBeam's US Opt-Out States preset starts with these values.
Of the states the preset covers, the laws of Colorado, Connecticut, Delaware, Maryland, Minnesota, Montana, New Hampshire, New Jersey, Oregon and Texas require you to honor a universal opt-out signal such as Global Privacy Control. The preset honors it in every state it covers, which is the simpler rule to run.
| Setting | CookieBeam preset |
|---|---|
| Who it matches | Visitors in 18 states (Colorado, Connecticut, Delaware, Iowa, Indiana, Kentucky, Maryland, Minnesota, Montana, Nebraska, New Hampshire, New Jersey, Oregon, Rhode Island, Tennessee, Texas, Utah and Virginia) |
| Banner mode | Opt-out: tags run from the first page view until the visitor opts out |
| Buttons | "Accept Cookies" and "Reject All" on the first layer, plus "Your Opt-Out Rights", which opens the US opt-out panel |
| Persistent opt-out link | Off when the rule is created; turn on the rule's Do-Not-Sell link option to keep "Your Opt-Out Rights" available after the first choice |
| Google Consent Mode defaults | All storage types start granted until the visitor opts out |
| Global Privacy Control | Honored automatically as an opt-out, with no click needed; it cannot be switched off for visitors this preset matches |
| Stored choice | Expires after 365 days, then the visitor is asked again |
US State Privacy Laws setup by platform
Google Tag Manager
Container import, consent tag verification, and per-tag consent settings.
Shopify
App embed or theme code install, the Customer Privacy API bridge, and checkout behavior.
Webflow
Head code setup, integration fields and embeds, and how Webflow Analyze and Optimize are gated.
WordPress
Plugin setup, the WP Consent API bridge, and which tracking plugins still need gating.
Frequently Asked Questions
Does a site need an opt-in cookie banner for CCPA?
No. A covered business needs a working Do Not Sell or Share opt-out, GPC handling, and an opt-out that actually stops the selling and sharing tags. A banner paired with a persistent link is the standard way to deliver that.
Do the US state privacy laws require a cookie banner?
Not an opt-in banner for ordinary cookies. They require an opt-out covering sale, targeted advertising and profiling, and several states also mandate automatic handling of Global Privacy Control. Sensitive data is a separate matter: most of these states require opt-in consent before you process it.
Which states does the US opt-out preset cover?
The US Opt-Out States preset matches 18 states: Colorado, Connecticut, Delaware, Iowa, Indiana, Kentucky, Maryland, Minnesota, Montana, Nebraska, New Hampshire, New Jersey, Oregon, Rhode Island, Tennessee, Texas, Utah and Virginia. California has its own CCPA/CPRA preset.
Related guides and sources
how to build a compliant Do Not Sell or Share link, Global Privacy Control explained, CPRA enforcement in 2025-2026, US state privacy cookie banner checklist, which states require universal opt-out signals, sensitive data under US state privacy laws.
Primary sources: California Attorney General CCPA page, California Privacy Protection Agency (regulations and enforcement decisions), Global Privacy Control specification.
This page summarises the law as we understand it in October 2026 for website and cookie decisions. It is not legal advice. Statutes, regulations and regulator guidance change, so check the current text with counsel before relying on any threshold or date mentioned here. CookieBeam's regional presets are configurable starting points, not a legal determination for your site.






