June 27, 2026 · 2 min read
Consent banner modes: opt-in, opt-out, informational, and do-not-sell
Consent is not one-size-fits-all. A visitor in Munich, a returning customer in Los Angeles, and a first-time reader in Singapore often need different consent experiences. That is why consent banners come in several modes, each tuned to a different legal regime and user expectation. This post covers the four most common modes, when to use each, and how they map to the laws that drive them.
Why banner modes exist
Consent rules differ by jurisdiction. The EU's ePrivacy Directive requires prior consent before non-essential trackers run (an opt-in model). Several U.S. state laws, by contrast, let trackers load by default as long as visitors can opt out. A single global banner cannot satisfy both cleanly, so modern consent tools let you choose a mode per region or per page.
Under the ePrivacy Directive Article 5(3), storing or reading information on a device (like setting a non-essential cookie) requires consent unless it is strictly necessary to deliver a requested service. The European Data Protection Board publishes detailed guidance on what counts as strictly necessary.
The four consent banner modes
| Mode | Default state | Best for | Example law |
|---|---|---|---|
| Opt-in | Trackers blocked until accepted | EU, UK, EEA | GDPR + ePrivacy |
| Opt-out | Trackers load; user can object | Some U.S. states | CalOPPA-style |
| Informational | Notice only; consent implied | Light-touch contexts | Depends on use |
| Do not sell or share | Specific opt-out for sale/sharing | California, Colorado | CCPA/CPRA, CPA |
Opt-in
Non-essential trackers stay blocked until the visitor actively accepts. This is the strictest mode and the one the GDPR and ePrivacy Directive expect in Europe. Necessary trackers (the ones your site needs to function) always run. The banner should make accepting and rejecting equally easy, since bundling consent or hiding the reject option risks non-compliance.
Opt-out
Trackers load by default, and the visitor can object. This fits jurisdictions where notice plus an opt-out mechanism is the baseline rather than prior consent. The banner still needs to inform visitors what is running and give them a clear way to object.
Informational
The banner notifies visitors that trackers are present, without gating them behind an accept action. Use this only where the law actually permits implied consent, and never where prior consent is required. Misapplying informational mode in an opt-in region is a common and avoidable compliance mistake.
Do not sell or share
A targeted opt-out focused on the sale or sharing of personal information for cross-context advertising. Under the CCPA and CPRA, qualifying businesses must let consumers opt out of the sale or sharing of their data, often through a recognizable link like "Do Not Sell or Share My Personal Information." Colorado's privacy law similarly requires honoring opt-out preference signals.
Do not default a whole site to the least restrictive mode globally. Pick the right mode per region, or you can simultaneously break EU consent rules and miss California opt-out obligations.
How to choose
- Start from where your visitors are. EU and UK traffic means opt-in for non-essential trackers.
- For California and Colorado, add a do-not-sell-or-share path and honor opt-out preference signals like Global Privacy Control.
- Keep necessary trackers outside the consent choice entirely. They are not optional.
- Record each visitor's decision so you can evidence it later.
Banner modes are the bridge between the law and what your visitor actually sees. Pick the mode that matches each region, keep the necessary trackers untouched, and record the choice. The right mode is the one that fits your visitors' jurisdiction, not the one that is easiest to ship.
Materially reviewed July 11, 2026. Regulatory and implementation guidance is general information, not legal advice.
Primary sources
Was this post helpful?
Put consent in front of your trackers
OptinStack pairs a first-layer consent banner with enforcement that respects what each visitor chose, plus consent evidence. Create a free account and activate one production hostname; upgrade when you need more design, exports, capacity, or regional controls.
Related posts
What is a consent management platform (CMP), and do you need one?
What a consent management platform is, the components that make it work, the fixed consent categories, and how to tell whether your site needs one.
What is Global Privacy Control (GPC) and how to respect it
What Global Privacy Control is, how the Sec-GPC header and navigator.globalPrivacyControl signal work, what California and Colorado require, and how to honor it before trackers run.
Consent enforcement: blocking vs releasing scripts by category
What consent enforcement is, how trackers get gated by category, the common failure modes like load-order gaps, and how to verify the page actually obeys each visitor's choice.
Google Consent Mode v2, explained
What Consent Mode v2 is, the four consent signals, Basic vs Advanced mode, and how to verify your implementation. Sourced from Google's official Tag Platform and Ads documentation.