---
title: "Webflow Cookie Banner for US State Privacy Laws (2026 Setup)"
description: "US state privacy law cookie banner on Webflow: head-code install, opt-out of sale and targeted ads, GPC, Webflow Analyze and Optimize, and how to test."
url: "https://cookiebeam.com/guides/webflow-cookie-banner-us-state-privacy-laws-2026"
lang: "en"
last_updated: "2026-11-16T10:49:44.057Z"
---

# Webflow Cookie Banner for US State Privacy Laws: 2026 Setup

US state privacy laws require Webflow sites to offer an opt-out of sale and targeted advertising, and handle GPC in a growing list of states. Here is the head-code setup and how Webflow Analyze fits in.

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.

For a Webflow site with US visitors, the state laws focus on advertising: pixels in head code, embeds and integration fields need to stop when a visitor opts out or sends a Global Privacy Control signal. Analytics sits in a different category, which matters for Webflow's own Analyze and Optimize features.

> **Tip: TL;DR**
>
> 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 |

## How CookieBeam's US Opt-Out States preset handles it

CookieBeam provides a regional preset designed for visitors from US states with privacy laws. Applying it generates an editable rule that ships with the following starting 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 |

## Where Webflow sites leak data

- **Integration fields.** Analytics or advertising IDs entered in Webflow's own integration settings load outside your consent tool. Move them into tags that your consent tool manages.
- **Embeds in the page body.** An HTML embed containing a pixel fires when the page renders, regardless of what the head script decided, unless it's written as inert markup the consent tool activates.
- **Webflow Analyze and Optimize.** These are built into the platform rather than being scripts you can tag. CookieBeam controls them through Webflow's tracking-consent API instead.

## Webflow Analyze under US opt-out rules

The Webflow bridge gates on the resolved analytics consent state. Under the US opt-out preset that state starts granted, because these laws target sale, sharing and targeted advertising rather than analytics, so Webflow tracking runs unless the visitor opts out of it separately. To treat US analytics as opt-in instead, change the setting in the rule under **Regional settings**; the bridge follows the resolved value.

## Set up CookieBeam on Webflow for the US state privacy laws

### Step 1: Publish your banner first

Build the banner in CookieBeam, set up its consent categories, and publish it to production so the loader script has a live configuration to serve. See the [quickstart](https://cookiebeam.com/docs/getting-started/quickstart).

### Step 2: Add the loader to Webflow's head code

Open **Site settings &rsaquo; Custom code &rsaquo; Head code** and paste the production loader from the banner's **Install** page as the first script, ahead of Google Tag Manager or any pixel. Custom code requires a paid Webflow site plan. Do not add `async` or `defer`. Publish the Webflow site.

### Step 3: Leave the Webflow bridge on

Webflow Analyze and Optimize aren't ordinary script tags you can block. CookieBeam controls them through Webflow's tracking-consent API, tied to the analytics consent state. The bridge is enabled by default under **Vendor Consent Signals** on the banner's App Integrations page.

### Step 4: Apply the US Opt-Out States preset

On the banner's **Regional settings** page, add a rule from the **US Opt-Out States** framework preset. 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) with an opt-out banner: tags run from the first page view until the visitor opts out. Its preferences button reads "Your Opt-Out Rights" and opens the US opt-out panel. Turn on the rule's **Do-Not-Sell link** option so a persistent link stays available after the first choice. Add the CCPA/CPRA preset too for California visitors. See [regional rules](https://cookiebeam.com/docs/configure/regional-rules).

### Step 5: Mark the tags that sell or share

Advertising pixels and data-sharing tags belong in the marketing category. Scripts that appear in your reviewed scan inventory are managed by CookieBeam once you turn on blocking; scripts hard-coded in the page need inert markup (`type="text/plain"` with a `data-category` attribute) so CookieBeam can control them. See [script blocking](https://cookiebeam.com/docs/configure/blocking). In opt-out mode these tags run by default and are deactivated once the visitor opts out.

### Step 6: Save, publish and test

Click **Save Settings**, then **Publish** in the banner header. Changes to rules only take effect for visitors after you publish. Full install instructions: [Webflow install docs](https://cookiebeam.com/docs/install/script-tag).

`Head code`

```html
<!-- Site settings > Custom code > Head code: first line -->
<script
  id="CookieBeam"
  src="https://cdn.cookiebeam.com/banner/PUBLIC_BANNER_ID/default/loader.js"
  type="text/javascript"
  data-cfasync="false" data-no-optimize="1" data-no-defer="1"
  data-no-minify="1" data-noptimize="1" nowprocket data-pagespeed-no-defer
></script>
```

> **Warning: Cure periods are ending**
>
> State attorneys general enforce these laws, and the cure periods that originally gave businesses a window to fix violations before facing penalties have mostly expired. An opt-out that a visitor clicks but that leaves advertising tags running is the simplest failure for a regulator to spot from outside. Maintain a log of opt-outs and signals with timestamps: that log is your evidence that the opt-out actually worked.

## Test your Webflow site like a visitor from a US privacy-law state

1. Open the site in a fresh browser profile from one of the covered states, or with a geo-simulated preview, and confirm the opt-out banner appears.
2. Open the opt-out choices, opt out of sale and targeted advertising, reload the page and check the Network tab: advertising pixels should no longer be loading.
3. In a GPC-enabled browser, load the site fresh and verify that advertising tags never fire without any click required.
4. Confirm the persistent opt-out link is still accessible after the visitor has made their first choice.
5. If Webflow Optimize is active, run `wf.getUserTrackingChoice()` in the console after each consent choice to verify the state.

The [cookie banner QA checklist](https://cookiebeam.com/guides/test-cookie-banner-compliant-qa-checklist-2026) walks through additional checks.

> **Tip: Scan your Webflow site free**
>
> Before you make any changes, find out what your Webflow 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=webflow-cookie-banner-us-state-privacy-laws-2026)

## Frequently Asked Questions

### Does a GPC signal turn off Webflow Analyze?

It removes the categories the signal covers. By default a respected signal withdraws every non-necessary category, analytics included. You can narrow that per rule in the privacy-signal settings.

### Where does the consent script go in Webflow?

At the top of _Site settings &rsaquo; Custom code &rsaquo; Head code_, loaded synchronously, ahead of Google Tag Manager or any pixel.

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

For Webflow: [cookie consent on Webflow](https://cookiebeam.com/guides/webflow-cookie-consent-guide-2026). For the law: [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). Other platforms: [US privacy law setup by platform](https://cookiebeam.com/guides/us-privacy-cookie-banner-setup-by-platform-2026).

Primary sources: [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.
