Orofold Labs

Launching soon

Notes Get in touch

E-commerce and rules 4 min read Updated

Cookie consent without dark patterns

In short

A shop must ask for permission before storing cookies that need it, and under the GDPR that consent must be specific, informed and as easy to withdraw as to give.

A visitor opens your site, and the banner asks about cookies before they have chosen anything. Two sets of rules decide what the banner may do. The ePrivacy Directive controls access to information on the visitor’s device, and the GDPR defines what valid consent is. Work out which rule applies to each tool first, then design the banner around that.

Two sets of rules

Article 5(3) of the ePrivacy Directive (Directive 2002/58/EC) requires the user’s permission before information is stored on a user’s device, or accessed there. The European Commission’s page on the review of that directive quotes this rule. The GDPR sets the standard for valid consent. Under Article 4(11), consent means a freely given, specific, informed and unambiguous indication of the person’s wishes.

The two rules work together. The directive decides whether consent is needed at all, and the GDPR decides what that consent must look like when it is needed. Article 5(3) also covers reading information already on the device, not just storing it. A script that reads an existing identifier therefore falls under the same rule as one that sets a new cookie.

Under Article 7(3) of the GDPR, withdrawing consent must be as easy as giving it, and the person must be told about the right to withdraw before consenting. Article 7(4) adds that, when judging whether consent is freely given, the utmost account must be taken of whether a contract is conditional on consent to processing that the contract does not need. A visitor therefore has to understand what they agree to, must not be pushed into agreeing, and must be able to change their mind as easily as they agreed.

The requirements at a glance:

RequirementSource
Permission before storing or accessing information on a deviceePrivacy Directive, Article 5(3)
Freely given, specific, informed and unambiguousGDPR, Article 4(11)
Information about the right to withdraw, before consent is givenGDPR, Article 7(3)
Withdrawal as easy as giving consentGDPR, Article 7(3)
Access to a contract not made conditional on consent to unnecessary processingGDPR, Article 7(4)

The last two rows concern what happens after the first click. Withdrawing must be as easy as giving consent, and a service should not depend on consent it does not need.

Working on something similar in your own product? A few honest sentences are enough – we read every enquiry and reply by email. Apply with your idea

Patterns that undermine consent

The sources above do not list banner designs. The points below are therefore our reading of the principles in Articles 4(11) and 7, not a finding by any authority:

  • a refusal that takes more steps than acceptance, such as a second screen for every category;
  • a box that is already ticked, which is not an unambiguous indication;
  • a service that depends on accepting cookies it does not need.

Checklist for your consent banner

  1. List every cookie and similar tool your shop uses, with its purpose and whether it stores or reads information on the visitor’s device.
  2. Keep the non-essential tools switched off until the visitor agrees, and check in the browser that nothing is set before that.
  3. Give refusal the same prominence and the same number of steps as acceptance.
  4. Keep a visible link on the site that lets the visitor change or withdraw their choice. Apply that choice on every page of the site, not only on the page where they clicked.
  5. Test the banner on a phone, with a clean browser, and time how long refusal takes compared with acceptance.

For how sessions and cookies are set up on the server, see Sessions and cookies done safely. For what a small shop must do under the GDPR overall, see GDPR for a small online shop.

This article is not legal advice. The ePrivacy Directive, the GDPR and national law, including guidance from the data protection authority in your country, decide what applies to your site.

Sources and limits

Common questions

Do all cookies need consent?
Not every cookie is covered in the same way. Article 5(3) of the ePrivacy Directive requires permission for storing information on a user’s device or accessing it. The exceptions are in the directive text, which this article does not quote, so check them there before you decide.
What makes consent valid?
Article 4(11) of the GDPR defines consent as any freely given, specific, informed and unambiguous indication of the person’s wishes. Article 7(3) adds that withdrawing consent must be as easy as giving it.
Is a pre-ticked box enough?
No. Article 4(11) requires an unambiguous indication, and a box that is already ticked is not an indication given by the visitor.

Sources

  1. Regulation (EU) 2016/679 (GDPR), Article 4 (Definitions), legislation.gov.uk (text as adopted by the EU). Accessed 24 November 2026
  2. Regulation (EU) 2016/679 (GDPR), Article 7 (Conditions for consent), legislation.gov.uk (text as adopted by the EU). Accessed 24 November 2026
  3. ePrivacy Directive: Commission launches a public consultation to kick start the review, European Commission (Digital Strategy). Accessed 24 November 2026

Further reading

Have an idea that should exist? Or a working product that needs more customers, a new website or a complete rework? Bring us anything. Apply with your idea

All notes