Prompt
How do I set up a cookie banner that respects GDPR and still converts well?
Latest observation
Oct 29, 2026
OpenAI APIWeb search: off
To set up a cookie banner that is GDPR-compliant and still good for conversions, aim for a design that is clear, fair, and low-friction without being manipulative.
What GDPR generally requires
For non-essential cookies, you need:
- Prior consent before setting them
- Clear, plain-language explanation of what cookies do
- Equal prominence for accept and reject choices
- No pre-ticked boxes or implied consent
- Easy withdrawal of consent later
- Granular choices if you use different cookie categories
- Proof of consent in your records
Best-practice banner structure
A strong banner usually includes:
- Short explanation
- “We use cookies to improve your experience, analyze traffic, and personalize content.”
- Primary actions
- Accept all
- Reject non-essential
- Manage preferences
- Link to policy
- Clear cookie/privacy policy link
- Preference center
- Allow users to toggle categories like:
- Necessary
- Analytics
- Marketing
- Personalization
- Allow users to toggle categories like:
Design choices that help conversions without dark patterns
These tend to work well and stay on the safer side:
- Make the banner compact and non-blocking, especially for first-time visitors
- Use plain, friendly language
- Put Accept and Reject at the same visual level
- Let users continue browsing without forced interruption
- Use a preference center that is easy to find later
- If you need a higher opt-in rate, improve the copy rather than hiding the reject button
What to avoid
These patterns can hurt compliance and trust:
- “Accept” button bright and large, while “Reject” is hidden
- Burying reject options under multiple clicks
- Using vague language like “By continuing, you agree…”
- Pre-selecting analytics/marketing cookies
- Making “decline” harder than “accept”
A conversion-friendly, compliant example
You could use copy like:
We use necessary cookies to make the site work and optional cookies to improve your experience, analyze traffic, and personalize ads.
You can accept all, reject non-essential cookies, or manage your preferences.
Buttons:
- Accept all
- Reject non-essential
- Manage preferences
Technical setup tips
- Block analytics and ad tags until consent is granted
- Store consent state by category
- Log timestamp, consent version, and user choices
- Provide a way to change settings later, e.g. in the footer
- Make sure third-party scripts also respect the consent choice
How to maximize opt-in ethically
- Explain the benefit of each cookie category
- “Analytics help us improve performance”
- Keep the banner visually clean and fast
- Test wording, not deception
- Use a short banner plus a good preference center
- For returning users, remember their choice and don’t nag them unnecessarily
Important note
GDPR is not the only rule set. Depending on where your users are, you may also need to consider:
- ePrivacy rules
- UK GDPR / PECR
- CCPA/CPRA in California
- Local cookie laws in other regions
If you want, I can also give you:
- a GDPR-compliant cookie banner template,
- UX copy examples that convert well, or
- a technical implementation checklist for your website.