How it can be done fairly.

Features / Web

Cookie banner

Only three laws, but the most fines. What matters is not how the banner looks, but what the browser sends over the network before anyone clicks.

Laws
3 laws
Platforms
Web
Updated
Status
Draft, awaiting review by the attorney

What to solve

  • Analytics, advertising and embedded services may only start after consent. Without it only what the site cannot work without may run, like the cart or sign-in.

    • List what the site stores and calls
    • Really do not run the rest, do not just hide it
    • On withdrawal stop the scripts and delete their cookies

    Into UX: The check does not start in the design but in the Network tab of the developer tools.

  • Consent only counts when it is given freely and knowingly. A pre-ticked box or “by continuing you agree” is not consent.

    • Reject all right in the banner, as visible as accept
    • Separate purposes, not one consent for everything
    • A link to change the choice on every page

    Into UX: Two buttons of the same size. Settings is a third, smaller option.

  • The banner is the first thing people operate. If it does not work with a keyboard or a screen reader, it blocks the whole site.

    • Focus starts in the banner
    • Buttons with readable names and contrast

What the problem is

European authorities do not fine ugly banners. They fine websites that send data to advertising and analytics services before people consent, or even after they refuse.

How to design it

Two equal buttons, “Reject all” and “Accept all”, and a third option, “Customise”. The text says what the data is for. After the choice a link stays in the corner or the footer to change it.

In the code

Third-party scripts are added to the page only after consent. Withdrawal stops them and deletes their cookies without a reload. An automated test loads the page in a clean browser and fails when a request goes to an analytics or advertising domain.

Before you ship it

  • In a private window, without a click, nothing goes to analytics or advertising domains.
  • Rejecting works right in the banner.
  • After rejecting nothing starts, not even on the next page.
  • The choice can be changed at any time.

More features

Features
Toadvokat@navratilkarel.com