Prompt
How do I ensure my cookie consent setup with a consent management platform is compliant with GDPR and CCPA/CPRA?
Latest observation
To make your cookie consent setup with a consent management platform (CMP) compliant with GDPR and CCPA/CPRA, you need more than just a banner. You need a consent flow, backend behavior, and vendor configuration that match the legal requirements for each regime.
Here’s a practical checklist.
1) Start with a proper cookie and tracking audit
Before configuring the CMP:
- Inventory all cookies, SDKs, pixels, tags, and other trackers
- Classify them by purpose:
- Strictly necessary
- Functional
- Analytics
- Advertising / marketing
- Social media / sharing
- Identify all third-party recipients and data flows
- Document retention periods and legal basis for each
This audit should drive what the CMP blocks by default and what it allows.
2) Use the right legal basis by region
Under GDPR / UK GDPR
For most non-essential cookies and tracking:
- Consent is required
- Consent must be:
- Freely given
- Specific
- Informed
- Unambiguous
- Given by a clear affirmative action
- No pre-ticked boxes or implied consent
Under CCPA/CPRA
The main focus is different:
- You generally need a “Do Not Sell or Share My Personal Information” mechanism if you disclose personal information for cross-context behavioral advertising or “share” data under CPRA
- You must honor:
- Opt-out of sale/sharing
- Limit use of sensitive personal information when applicable
- Global Privacy Control (GPC) signals where required
- CCPA/CPRA usually does not require opt-in consent for cookies in the same way GDPR does, but you still need proper disclosures and opt-outs
3) Configure the banner correctly
For GDPR
Your CMP banner should:
- Show Accept all, Reject all, and Preferences/Customize with equal prominence
- Not use dark patterns or make rejection harder than acceptance
- Provide a short, clear summary of purposes
- Link to full cookie/privacy notice
- Block non-essential tags until consent is given
- Allow users to consent by category and, ideally, by vendor where needed
For CCPA/CPRA
Your notice should:
- Include a clear “Do Not Sell or Share My Personal Information” link if applicable
- Explain sale/share practices and sensitive PI use
- Support GPC and other recognized opt-out mechanisms
- Allow users to opt out without unnecessary friction
4) Ensure default blocking before consent/opt-out
A CMP is only effective if it actually prevents tracking before the user’s choice.
GDPR
- Analytics/marketing tags must be disabled until consent
- Don’t fire pixels via server-side tools, tag managers, or embedded scripts before consent
- Consent should be stored before enabling the categories
CCPA/CPRA
- If you “sell” or “share” personal information, honor the opt-out by stopping those disclosures
- Ensure ad-tech tags are suppressed when a user opts out or signals GPC
- If you use cookies for purposes that qualify as “sale/share,” they must not continue after opt-out
5) Make consent granular and reversible
Users should be able to:
- Accept all
- Reject all
- Choose categories
- Change their mind later
- Withdraw consent as easily as they gave it
Your CMP should provide a persistent link such as:
- “Cookie settings”
- “Privacy choices”
- “Do Not Sell or Share My Personal Information”
6) Keep records of consent and opt-out status
You should log:
- Timestamp
- Consent version presented
- Jurisdiction/language if relevant
- Categories accepted/rejected
- Source of signal
- Withdrawal events
For GDPR, you should be able to demonstrate valid consent. For CCPA/CPRA, you should be able to prove opt-outs and GPC handling.
7) Honor Global Privacy Control and similar signals
If applicable to your business and jurisdictions:
- Detect GPC
- Treat it as a valid opt-out of sale/share where required
- Ensure downstream systems and vendors receive the opt-out state
- Do not override the signal with a banner that asks the user to opt back in
8) Update your privacy and cookie notices
Your notices should clearly explain:
- What cookies and trackers you use
- Purposes of each category
- Legal basis under GDPR
- Sale/share disclosures under CCPA/CPRA
- How to withdraw consent / exercise opt-out rights
- Whether data is transferred internationally
- How to contact you and, if applicable, your DPO or privacy team
9) Contract and vendor management
Your CMP won’t fix vendor compliance by itself.
Make sure:
- You have Data Processing Agreements where required
- You’ve assessed third-party vendors
- Vendors do not set cookies before consent
- You’ve configured tag management to block unauthorized loading
- You know whether vendors act as service providers/processors or as third parties/independent controllers
For CCPA/CPRA, ensure vendors are contractually restricted from using data outside permitted purposes.
10) Test everything technically
Common failures happen when the UI looks compliant but scripts still fire.
Test:
- First visit with no consent
- Reject all
- Accept only necessary
- Accept some categories and reject others
- Withdraw consent later
- GPC-enabled browser
- Mobile and desktop
- Different jurisdictions/languages if your CMP geolocates users
Check:
- Network requests before consent
- Cookies created before consent
- Tag Manager triggers
- Server-side events
- Embedded third-party content
- Consent persistence and expiry
11) Avoid common compliance mistakes
Do not:
- Use pre-checked boxes
- Bundle consent for unrelated purposes
- Make reject buttons hidden or harder to find
- Set non-essential cookies before opt-in
- Treat continued browsing as valid GDPR consent
- Ignore GPC
- Fail to let users withdraw consent easily
- Forget about server-side tracking or API-based disclosures
- Assume a CMP alone makes you compliant
12) Have regional logic if you operate globally
A single banner may need different behaviors depending on region:
- EEA/UK: opt-in consent for non-essential cookies
- California: sale/share opt-out and sensitive PI controls
- Other US states / global users: different notice and opt-out requirements may apply
A good CMP should support geo-targeting and differing workflows, but make sure your configuration is correct and tested.
Simple compliance target
A practical target setup looks like this:
GDPR-ready
- Non-essential cookies blocked by default
- Clear Accept / Reject / Settings
- Consent logged
- Withdrawal available
- No tracking before consent
CCPA/CPRA-ready
- Privacy notice discloses sale/share and sensitive PI use
- Do Not Sell/Share link present if applicable
- GPC honored
- Opt-out persists and suppresses relevant tags
- Vendor contracts and flows aligned
Important note
Compliance depends on your:
- Business model
- Regions of visitors
- Cookie/tracker categories
- Whether you “sell” or “share” data
- How your CMP and tag stack are implemented
So the legal answer should be validated with privacy counsel, especially if you operate in multiple jurisdictions.
If you want, I can also give you:
- a GDPR/CCPA CMP implementation checklist,
- a sample compliant cookie banner, or
- a technical test plan for Tag Manager / GTM setups.
Observation history
Unlock observation history
Create a free Obsurfable account to unlock historical responses, model comparisons, and deeper brand intelligence.
How did Obsurfable measure this prompt?
Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.
Which AI systems does Obsurfable collect answers from?
OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, and Meta AI.