---
title: "Google Tag Manager Consent for CCPA/CPRA (2026 Setup)"
description: "CCPA/CPRA opt-out in Google Tag Manager: Do Not Sell or Share, GPC, per-tag consent settings, restricted data processing for Google Ads, and testing."
url: "https://cookiebeam.com/guides/google-tag-manager-consent-ccpa-cpra-2026"
lang: "en"
last_updated: "2026-11-16T10:49:22.193Z"
---

# Google Tag Manager Consent for CCPA/CPRA: 2026 Setup

A California opt-out needs to reach every advertising tag in the GTM container, including non-Google tags that ignore Consent Mode. Here is the setup, GPC handling, and restricted data processing for Google Ads.

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.

Inside a tag manager, a California opt-out is only as strong as the tag configuration behind it. Consent Mode relays the visitor's choice to Google's tags, but every other advertising tag needs its own consent requirement or a trigger that stops after the opt-out. Otherwise it keeps sharing data.

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

## How CookieBeam's CCPA/CPRA preset handles it

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

## Where Google Tag Manager sites leak data

- **Tags without consent settings.** Any tag left without a consent requirement fires the moment its trigger condition is met, regardless of the visitor's choice. Consent Mode adjusts how Google's tags behave when consent is denied, but it does nothing to stop non-Google tags from running.
- **All Pages triggers.** A tracking pixel assigned to an All Pages trigger can execute before the consent tool has resolved. Route non-essential tags through CookieBeam's consent events instead.
- **Scripts outside the container.** Tracking pixels hard-coded directly in the site template bypass GTM entirely and need inert markup to bring them under control.

## Google Ads restricted data processing

Consent Mode tells Google whether a visitor consented. Restricted data processing is a separate signal that tells Google Ads to limit how it handles a California visitor's data. CookieBeam can send `restricted_data_processing` for US visitors who have not opted in to sale and sharing, but the setting is off by default. See [Google Ads restricted data processing](https://cookiebeam.com/docs/integrations/google-ads-privacy).

## Set up CookieBeam on Google Tag Manager for CCPA/CPRA

### 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: Import the CookieBeam container file

Download the web container JSON from the banner's **Install** page. In GTM, navigate to **Admin &rsaquo; Import Container**, pick the file and your workspace, select **Merge** and review the import preview.

### Step 3: Check the consent tag

Confirm the imported tag contains your banner ID and fires on **Consent Initialization – All Pages**. Keep a single CookieBeam installation per page: don't also paste the loader into the site's HTML.

### Step 4: Set consent requirements on each tag

Consent Mode can allow cookieless pings while consent is denied; it won't block every tag by itself. Give each advertising and analytics tag its own consent settings, or fire it from the `cookie_consent_marketing` and `cookie_consent_statistics` data-layer events. Scripts hard-coded outside GTM still need inert markup.

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

On the banner's **Regional settings** page, add a rule from the **CCPA/CPRA** framework preset. It matches visitors in California with an opt-out banner: tags run from the first page view until the visitor opts out. Its 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 stays available after the first choice. Add the US Opt-Out States preset too if you serve other states. See [regional rules](https://cookiebeam.com/docs/configure/regional-rules).

### Step 6: 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 7: 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: [Google Tag Manager install docs](https://cookiebeam.com/docs/install/google-tag-manager).

> **Warning: What California has actually enforced**
>
> The California Privacy Protection Agency's 2025 enforcement decisions against **Honda** and **Todd Snyder** both centred on consent-tool mechanics: an opt-out that collected more information than necessary, cookie choices that were simpler to accept than to decline, and, in Todd Snyder's case, an opt-out that silently broke for weeks because the consent tool was misconfigured. A site that displays the correct link but continues firing advertising pixels after an opt-out has the same exposure. Test whether the opt-out actually works, not just whether the banner looks right.

## Test your GTM container like a California visitor

1. Open the site in a fresh browser profile, from California or with a geo-simulated preview, and confirm the opt-out banner appears.
2. Select the opt-out for sale and sharing, reload the page, and check the Network tab: advertising pixels should no longer be loading.
3. In a GPC-enabled browser, confirm `navigator.globalPrivacyControl` is `true`, load the site fresh, and verify that advertising tags never fire without any click.
4. Confirm the Do-Not-Sell link remains reachable after the visitor has made their first choice.
5. Open GTM Preview: examine the consent state on the Consent Initialization event, note which tags fired, and repeat the check after each consent choice.

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

> **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=google-tag-manager-consent-ccpa-cpra-2026)

## Frequently Asked Questions

### Is Consent Mode enough for CCPA in GTM?

No. Consent Mode controls Google's own tags. Non-Google advertising tags still need their own consent settings or triggers, and Google Ads restricted data processing is a separate setting on top of that.

### Does Consent Mode block my tags in GTM?

Not by itself. Consent Mode instructs Google's tags on how to behave when consent is denied; third-party tags need their own consent settings or CookieBeam-driven triggers, or they'll run regardless.

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

## Related guides and sources

For Google Tag Manager: [Google Tag Manager and consent: the complete setup guide](https://cookiebeam.com/guides/google-tag-manager-consent-complete-setup-2026). For the law: [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). Other platforms: [US privacy law setup by platform](https://cookiebeam.com/guides/us-privacy-cookie-banner-setup-by-platform-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.
