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.
| 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.
Set up CookieBeam for California visitors
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.
Add the loader to Webflow's head code
Go to Site settings › Custom code › 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.
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.
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. 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.
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.
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.
Save, publish and test
Click Save Settings, then Publish. Rule changes don't reach visitors until you publish. Then run the California test below.
<!-- 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>Test your Webflow site like a California visitor
- 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.
- Exercise the opt-out for sale and sharing, reload, and check the Network tab. Advertising pixels should stop loading.
- In a GPC-enabled browser, confirm
navigator.globalPrivacyControlistrue, load the site fresh, and verify that advertising tags never fire at all, with no click required. - Confirm the Do-Not-Sell link is still reachable after the initial choice.
- If you use Webflow Optimize, check
wf.getUserTrackingChoice()after opting out and after a GPC visit.
The cookie banner QA checklist 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 › Custom code › 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 covers the EU opt-in setup. For the law itself, read how to build a compliant Do Not Sell or Share link, Global Privacy Control explained and CPRA enforcement in 2025-2026. If you serve visitors in other US privacy states, use the US state privacy cookie banner checklist.
Primary sources: California Attorney General CCPA page, the California Privacy Protection Agency (regulations and enforcement decisions), and the Global Privacy Control specification.
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.






