---
title: "US Privacy Law Cookie Banner by Platform (2026)"
description: "CCPA/CPRA and US state privacy law cookie banner setup by platform: opt-out requirements, GPC handling, the CookieBeam presets, and per-platform guides."
url: "https://cookiebeam.com/guides/us-privacy-cookie-banner-setup-by-platform-2026"
lang: "en"
last_updated: "2026-11-16T10:49:39.592Z"
---

# US Privacy Law Cookie Banner Setup by Platform (2026)

What California and the broader US state privacy laws require, what the CookieBeam presets configure, and setup guides for every supported platform.

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.

> **Tip: Who is covered**
>
> The CCPA covers for-profit businesses that operate in California and meet any of these thresholds: annual gross revenue above $25 million (inflation-adjusted), buying, selling or sharing the personal information of 100,000 or more California consumers or households, or deriving half their revenue from selling or sharing personal information. If you're covered, visitors must be able to opt out of sale and sharing, GPC must be honored automatically, and the opt-out must actually stop the tags.

**Requirements under CCPA/CPRA**

| 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.

**What the CCPA/CPRA preset sets**

| 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](https://cookiebeam.com/guides/google-tag-manager-consent-ccpa-cpra-2026): Container import, consent tag verification, and per-tag consent settings.
- [HubSpot CMS](https://cookiebeam.com/guides/hubspot-cms-cookie-banner-ccpa-cpra-2026): HubSpot's native banner, the ad pixels it does not control, and the opt-out setup.
- [Next.js](https://cookiebeam.com/guides/nextjs-cookie-banner-ccpa-cpra-2026): Loader in the root layout, client components, and GPC handling in the browser and on the server.
- [Shopify](https://cookiebeam.com/guides/shopify-cookie-banner-ccpa-cpra-2026): App embed or theme code install, the Customer Privacy API bridge, and checkout behavior.
- [Squarespace](https://cookiebeam.com/guides/squarespace-cookie-banner-ccpa-cpra-2026): Code Injection install, the built-in analytics fields, and testing the opt-out.
- [Webflow](https://cookiebeam.com/guides/webflow-cookie-banner-ccpa-cpra-2026): Head-code install, the Do Not Sell or Share link, GPC handling, and Webflow Analyze and Optimize.
- [Wix](https://cookiebeam.com/guides/wix-cookie-banner-ccpa-cpra-2026): Custom Code install, Wix's own banner and app integrations, and testing the opt-out.
- [WordPress](https://cookiebeam.com/guides/wordpress-cookie-banner-ccpa-cpra-2026): 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.

> **Tip: Who is covered**
>
> Each state law sets its own applicability threshold. Most count consumers in the state (often 100,000, lower in several newer statutes, and lower again when a large share of revenue comes from selling data); Tennessee adds a $25M revenue gate, while Texas and Nebraska use a small-business exemption instead of a consumer count. If you're covered in multiple states, a single opt-out setup that works across all of them is simpler than tracking each threshold individually.

**Requirements under US State Privacy Laws**

| 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.

**What the US Opt-Out States preset sets**

| 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](https://cookiebeam.com/guides/google-tag-manager-consent-us-state-privacy-laws-2026): Container import, consent tag verification, and per-tag consent settings.
- [Shopify](https://cookiebeam.com/guides/shopify-cookie-banner-us-state-privacy-laws-2026): App embed or theme code install, the Customer Privacy API bridge, and checkout behavior.
- [Webflow](https://cookiebeam.com/guides/webflow-cookie-banner-us-state-privacy-laws-2026): Head code setup, integration fields and embeds, and how Webflow Analyze and Optimize are gated.
- [WordPress](https://cookiebeam.com/guides/wordpress-cookie-banner-us-state-privacy-laws-2026): Plugin setup, the WP Consent API bridge, and which tracking plugins still need gating.

> **Tip: Scan your site free**
>
> Before you make any changes, find out what your site loads today. CookieBeam's Free plan includes 1 cookie scan a month with no card required: the scan identifies every script, connection and stored item your pages produce along with the category each one belongs to, giving you the inventory that every step above builds on.
>
> [Scan your site free](https://cookiebeam.com/sign-up?utm_source=cookiebeam-guides&utm_medium=landing-page&utm_campaign=us-privacy-cookie-banner-setup-by-platform-2026)

## 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](https://cookiebeam.com/guides/do-not-sell-share-link-ccpa-guide-2026), [Global Privacy Control explained](https://cookiebeam.com/articles/gpc-global-privacy-control-explained), [CPRA enforcement in 2025-2026](https://cookiebeam.com/articles/cpra-cppa-enforcement-2025-2026), [US state privacy cookie banner checklist](https://cookiebeam.com/guides/us-state-privacy-cookie-banner-checklist-2026), [which states require universal opt-out signals](https://cookiebeam.com/guides/universal-opt-out-mechanisms-us-state-laws-2026), [sensitive data under US state privacy laws](https://cookiebeam.com/guides/sensitive-data-consent-us-state-laws-2026).

Primary sources: [California Attorney General CCPA page](https://oag.ca.gov/privacy/ccpa), [California Privacy Protection Agency (regulations and enforcement decisions)](https://cppa.ca.gov/), [Global Privacy Control specification](https://globalprivacycontrol.org/).

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.
