---
title: "Store nothing extra without a yes · Agent Wranglers"
url: https://agentwranglers.se/playbook/website/privacy/cookie-consent
updated: 2026-10-20
licence: "All rights reserved"
---

# Store nothing extra without a yes

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Required
- Chapter: [Privacy](https://agentwranglers.se/playbook/website/privacy)
- Rule: Ask before storing anything non-essential. Make saying no as easy as saying yes, and store nothing until people agree.
- How: Article 5(3) of the EU ePrivacy Directive covers any storage or reading on the device, including cookies, local storage, fingerprinting and tracking pixels. If you store nothing non-essential, you need no banner. Otherwise, block those scripts until people agree. Ask per purpose, with no box ticked in advance. Show reject on the first layer, as clearly as accept. Keep a record of each choice with its time and the banner version, as GDPR Article 7 requires proof. Let people change their choice later from a link in every footer.
- Check: With a fresh browser profile, no non-essential cookies, storage or third-party requests appear before consent. After clicking reject, the same holds. Withdrawing consent from the footer link removes the cookies it allowed.

Example:

```html
<!-- Blocked until consent: the browser ignores type="text/plain" -->
<script type="text/plain" data-consent="analytics" src="/js/stats.js"></script>
<script>
  function allow(kind) {
    for (const old of document.querySelectorAll(`script[data-consent="${kind}"]`)) {
      const s = document.createElement('script');
      s.src = old.src;
      old.replaceWith(s);
    }
  }
</script>
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/privacy/cookie-consent`.

- Previous: [Explain what you keep and why](https://agentwranglers.se/playbook/website/privacy/privacy-policy)
- Next: [Treat the privacy signal as a no](https://agentwranglers.se/playbook/website/privacy/global-privacy-control)
- [Privacy](https://agentwranglers.se/playbook/website/privacy)
