---
title: "Webflow Cookie Banner for CCPA/CPRA (2026 Setup)"
description: "Configure a CCPA/CPRA cookie banner on Webflow: Do Not Sell link, GPC support, head-code placement, Webflow Analyze and Optimize, and testing opt-outs."
url: "https://cookiebeam.com/guides/webflow-cookie-banner-ccpa-cpra-2026"
lang: "en"
last_updated: "2026-11-16T11:46:39.714Z"
---

# Webflow Cookie Banner for CCPA/CPRA: 2026 Setup

California doesn't want an opt-in banner from your Webflow site. It wants a working opt-out for sale and sharing, automatic GPC handling, and pixels that actually stop firing. Here's how to set that up.

California's privacy law doesn't ask for an opt-in cookie banner. What it asks for trips up most Webflow sites: a working **opt-out of the sale and sharing** of personal information, tags that actually stop when someone opts out, and automatic handling of the **Global Privacy Control** browser signal. The CPRA amendments broadened "sharing" to include disclosing data for cross-context behavioral advertising, even without a payment. That covers most ad pixels. Webflow doesn't ship a native consent manager that can gate third-party scripts, so the opt-out has to come from a consent tool you install through custom code.

> **Tip: TL;DR**
>
> The CCPA covers for-profit businesses operating in California whose annual gross revenue crosses a threshold set in the statute (inflation-adjusted), or that buy, sell or share the personal information of 100,000+ California consumers or households, or that earn half their revenue from selling or sharing it. If you're covered: give visitors a way to opt out of sale and sharing, honor GPC without requiring a click, and make sure the opt-out actually stops the relevant tags.

**CCPA/CPRA requirements and where they live on Webflow**

| Requirement | What California expects | On Webflow |
| --- | --- | --- |
| Opt-out link | "Do Not Sell or Share My Personal Information", or the alternative "Your Privacy Choices" link, on every page | A footer link in your global footer component, plus the consent tool's persistent link |
| Opt-out preference signals | Treat GPC as a valid opt-out of sale and sharing, with no extra click | Handled by the consent tool before tags fire; Webflow has no native setting for this |
| Sensitive data | A "Limit the Use of My Sensitive Personal Information" link if you use sensitive data beyond permitted purposes | Typically only relevant when forms or tags collect precise location or health-related data |
| Minors | Opt-in before selling or sharing data of consumers you know are under 16 | An account-level and form-logic decision; a banner can't determine age |
| Re-asking | Wait at least 12 months before asking someone who opted out to opt back in | A consent-tool setting, not a Webflow one |

## Where Webflow sites leak data after an opt-out

- **Integration fields.** Analytics or ad IDs pasted into Webflow's built-in integration settings load outside your consent tool's control. Move those IDs 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. Either rewrite it as inert markup that the consent tool activates, or load it through GTM.
- **Webflow Analyze and Optimize.** These are platform features, not scripts you can tag. CookieBeam reaches them through Webflow's tracking-consent API instead (see below).

The broader Webflow mechanics are covered in [cookie consent on Webflow](https://cookiebeam.com/guides/webflow-cookie-consent-guide-2026).

## Set up CookieBeam for California visitors

### Step 1: Publish your banner first

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

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

Go to _Site settings &rsaquo; Custom code &rsaquo; Head code_ and paste the production loader from the banner's **Install** page as the first script, before GTM or any pixel. Don't add `async` or `defer`. Custom code requires a paid Webflow site plan. Publish the Webflow site afterward. Details: [install with a script tag](https://cookiebeam.com/docs/install/script-tag).

### Step 3: Apply the CCPA/CPRA preset

On the banner's **Regional settings** page, add a rule from the **CCPA/CPRA** framework preset. It targets California visitors with an opt-out banner in a bar-inline layout at the bottom of the page. The preferences button reads "Do Not Sell or Share My Personal Information" and opens the US opt-out panel. Turn on the rule's **Do-Not-Sell link** option so a persistent link remains accessible after the first choice. If you serve visitors in other US privacy states, add the US Opt-Out States preset too. See [regional rules](https://cookiebeam.com/docs/configure/regional-rules).

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

Put ad pixels and data-sharing tags in the marketing category. Hardcoded scripts need inert markup (`type="text/plain"` with `data-category`) so CookieBeam can control them; see [script blocking](https://cookiebeam.com/docs/configure/blocking). Under opt-out mode, these tags run by default. Once the visitor opts out, they stop being activated. Note that an opt-out can't unload a script that already ran on the current page.

### Step 5: Keep Consent Mode on

Leave Google Consent Mode enabled in the banner settings. It updates Google's own tags, and it drives the consent-state event that CookieBeam's vendor bridges listen to.

### Step 6: Leave the Webflow bridge on

Under **Vendor Consent Signals** on the banner's App Integrations page, the Webflow bridge is on by default. It calls Webflow's `allowUserTracking` or `denyUserTracking` based on the resolved analytics state. Under a US opt-out rule, that state starts as granted, so Analyze and Optimize run until the visitor opts out or a respected GPC signal strips the grant. See [Webflow Analyze and Optimize](https://cookiebeam.com/docs/integrations/webflow).

### Step 7: Save, publish and test

Click **Save Settings**, then **Publish**. Rule changes don't reach visitors until you publish. Then run the California test below.

`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"
></script>
```

> **Warning: What California has actually enforced**
>
> The California Privacy Protection Agency's 2025 enforcement decisions against **Honda** and **Todd Snyder** both centered on consent-tool mechanics: an opt-out that requested more information than necessary, choices that were easier to accept than decline, and in Todd Snyder's case an opt-out that silently failed for weeks due to a misconfigured consent tool. A Webflow site that shows the correct link but keeps firing pixels after an opt-out has the same exposure. Test the opt-out, not just the banner.

## Test your Webflow site like a California visitor

1. Open the site in a clean browser profile, from a California IP or with a geo-simulated preview, and confirm the opt-out banner appears.
2. Exercise the opt-out for sale and sharing, reload, and check the Network tab. Advertising pixels should stop loading.
3. In a GPC-enabled browser, confirm `navigator.globalPrivacyControl` is `true`, load the site fresh, and verify that advertising tags never fire at all, with no click required.
4. Confirm the Do-Not-Sell link is still reachable after the initial choice.
5. If you use Webflow Optimize, check `wf.getUserTrackingChoice()` after opting out and after a GPC visit.

The [cookie banner QA checklist](https://cookiebeam.com/guides/test-cookie-banner-compliant-qa-checklist-2026) covers the same checks for EU and UK visitors.

## Frequently Asked Questions

### Does a Webflow site need a cookie banner for CCPA?

Not an opt-in banner. A covered business needs a Do Not Sell or Share opt-out, GPC handling, and an opt-out that actually stops the tags that sell or share data. A banner with a persistent link is the standard approach on Webflow.

### Can I use Webflow's built-in settings to honor GPC?

No. Webflow doesn't have a setting for opt-out preference signals. A consent tool loaded in head code needs to detect **navigator.globalPrivacyControl** and suppress the relevant tags before they fire.

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

First in _Site settings &rsaquo; Custom code &rsaquo; Head code_, synchronous and before Google Tag Manager or any pixel.

### Does the opt-out affect Webflow Analyze?

With CookieBeam, Webflow Analyze and Optimize follow the analytics consent state through Webflow's tracking-consent API. A sale-only opt-out may leave analytics running. Whether that's appropriate depends on whether your analytics data is shared for advertising purposes.

## Related guides and sources

[Cookie consent on Webflow](https://cookiebeam.com/guides/webflow-cookie-consent-guide-2026) covers the EU opt-in setup. For the law itself, read [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) and [CPRA enforcement in 2025-2026](https://cookiebeam.com/articles/cpra-cppa-enforcement-2025-2026). If you serve visitors in other US privacy states, use the [US state privacy cookie banner checklist](https://cookiebeam.com/guides/us-state-privacy-cookie-banner-checklist-2026).

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

This page summarizes the law as we understand it in October 2026 for website and cookie decisions. It isn't legal advice. Statutes, regulations and attorney general guidance change, so confirm the current text with counsel before relying on any threshold or date here.
