Skip to main content
Back to Guides
Compliance7 min readBy Armin Zaribaf

Google Tag Manager Consent for US State Privacy Laws: 2026 Setup

US state privacy laws require an opt-out that stops advertising tags, and a growing number require honoring GPC. Here is how to configure a GTM container that respects both, across every covered state.

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.

Inside a tag manager, the state laws reduce to one question: does every advertising tag stop when a visitor in a covered state opts out or sends Global Privacy Control? Google's tags follow Consent Mode. Everything else follows only the consent settings and triggers you assign.

Requirements under US State Privacy Laws
RequirementWhat the law expects
Opt-out rightsGive 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 signalsA 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 dataMost 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
MinorsTargeted advertising or sale involving known minors requires opt-in consent, and some states prohibit it entirely. Age bands vary by state
Request channelsProvide 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
SettingCookieBeam preset
Who it matchesVisitors 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 modeOpt-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 linkOff 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 defaultsAll storage types start granted until the visitor opts out
Global Privacy ControlHonored automatically as an opt-out, with no click needed; it cannot be switched off for visitors this preset matches
Stored choiceExpires 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.

Advertising tags after an opt-out

Under the US opt-out preset, advertising starts granted and is withdrawn when the visitor opts out, or at page load when a respected GPC signal is present. Tags with a consent requirement on ad_storage stop at that point. Google Ads can also be instructed to restrict processing for US visitors who have not opted in to sale and sharing; the setting is off by default (see Google Ads restricted data processing).

Set up CookieBeam on Google Tag Manager for the US state privacy laws

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.

2

Import the CookieBeam container file

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

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.

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.

5

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.

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. In opt-out mode these tags run by default and are deactivated once the visitor opts out.

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.

Test your GTM container 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. 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 walks through additional checks.

Frequently Asked Questions

Do I need different GTM containers for different states?

No. The regional rule determines what each visitor sees, and the consent state it produces is what your tags read. One container with consent settings on every advertising tag covers all the states.

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.

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.

For Google Tag Manager: Google Tag Manager and consent: the complete setup guide. For the law: US state privacy cookie banner checklist, which states require universal opt-out signals, sensitive data under US state privacy laws. Other platforms: US privacy law setup by platform.

Primary sources: Global Privacy Control specification.

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.

7 min read

GPP, MSPA & US State Signals: A Publisher's Guide

The US Privacy String you built for CCPA was deprecated in January 2024. GPP, the US National string, and the MSPA replaced it, and getting the signal wrong can be a misrepresentation. Here's how the new US privacy signals move through the ad stack.

5 min read

Building a TCF CMP That Passes IAB Validation

What it takes for a Consent Management Platform to pass IAB Europe's TCF checks: a registered CMP ID, a cleanly decodable TC String, event-listener delivery, and encoding against the right GVL version.

9 min read

How to Migrate Your CMP Without Losing Existing Consent Records

A step-by-step technical guide to switching consent management platforms without losing consent records, triggering mass re-consent, or breaking Consent Mode. Covers export, category mapping, parallel runs, and zero-downtime migration patterns.