a chat widget without a cookie banner

Most sites put their chat widget behind the cookie banner because the widget stores something the moment the page loads. This guide explains the rule that causes that, shows exactly what Spookat does on a visitor’s device and on our servers at each step, and lists what still belongs in your privacy notice. It is not legal advice: the last section is the list of questions to take to your lawyer.
the rule behind cookie banners
In the EU, the rule is Article 5(3) of the ePrivacy Directive, implemented in each country’s own law. In short: storing information on a visitor’s device, or reading information already stored there, needs their consent. There are two exceptions. One is for storage needed purely to carry a communication over a network. The other is for storage that is strictly necessary to provide a service the visitor explicitly asked for.
Three details matter for chat widgets:
- It’s not only about cookies. The rule covers any storage on the device: local storage, session storage, IndexedDB. The European Data Protection Board’s 2023 guidelines on the technical scope of Article 5(3) read it broadly, including techniques that make the browser send information it wouldn’t send otherwise.
- Timing matters. Storage that happens on page load happens before the visitor asked for anything. That’s hard to call “explicitly requested”.
- It’s separate from the GDPR. Article 5(3) is about touching the device. The GDPR is about personal data, wherever it’s stored. A chat message with a name and an order number is personal data even if the widget never stores a byte in the browser.
So the question for any chat widget has two halves: what it does on the visitor’s device and when, and what personal data it processes and where.
what a typical widget does before anyone clicks
Many chat widgets set cookies or write to local storage as soon as they load. Common reasons: a visitor id to recognise returning visitors, a session to keep a conversation going, analytics on how often the widget is seen, and settings for the widget itself. Some also open a connection to their server on page load to report the visit.
None of that is needed to show a button. It’s there because it’s useful to the vendor, or because the widget was built that way years ago. For the site owner it means the widget can’t load until consent, and every visitor who rejects the banner also loses the chat.
what spookat does, step by step
Here is every step of a visit, with what happens on the network, on the device and on our side.
| moment | network | on the device | on our side |
|---|---|---|---|
| page load | one request for the launcher to cdn.spookat.com |
nothing read, nothing written | nothing stored |
| scroll, read, leave | nothing | nothing | nothing: we don’t know they were there |
| click the launcher | the panel’s script and style from the CDN, then a connection to api.spookat.com |
the panel looks for its own key (empty on a first visit), nothing written | nothing stored |
| send a first message | the message over that connection | one key written to local storage | the message and its context |
| come back later | the launcher again; the rest only after a click | after the click, the key is read to reopen the chat | new messages |
A few notes on that table:
- The launcher request. Loading any file from any server means the browser sends a request, and with it the visitor’s IP address and user agent, as the web works. That request goes through Cloudflare, our CDN and network provider, listed as a subprocessor. We never store IP addresses.
- No cookies at any step. Spookat sets no cookies, ever. The launcher and the panel run in the page, inside their own shadow root, and never read your site’s cookies or storage. The only thing they read is their own key, once the panel opens.
- The panel only loads on click. Before that, no Spookat code has run beyond drawing a button and keeping it off a bottom bar, with a layout check at most every 300 ms. Still no storage and no requests.
the one key after the first message
After the visitor sends their first message, the widget writes one key to local storage: spookat: followed by your site key. It holds the chat’s token, so the visitor’s conversation is still there when they move to another page or come back later, and your reply reaches them.
It’s written only when the visitor has actively started a conversation, and it exists only to keep that conversation going. That is the kind of storage the “strictly necessary for a service explicitly requested” exception was written for. Whether it covers your setup in your country is a question for your lawyer, and it’s the only storage question Spookat raises.
If a visitor clears their browser storage, the key is gone and the next message starts a new chat.
the reply email link
There is one more case where the chat opens without a click on the launcher. On pro and up, a visitor who left an email gets your late reply by email, with a link back to the conversation. That link carries a one-time token in the part of the address after #, which browsers never send to servers. When the visitor opens it, the launcher sees the token, removes it from the address bar and opens the panel by itself, because that’s what the visitor asked for by clicking the link. The token works once. After that, the chat is on the device the visitor used, with the same single storage key as above.
what we keep on our side
This is the GDPR half. For the chats on your site you are the controller, and Spookat is your processor under our data processing agreement. What we store:
- the messages, so your team can read and answer them
- a name or email, only if the visitor types one
- which of your sites the chat came from, and with each message: the page and the page they came from (both without query string or fragment), a short browser and system label, the browser language, time zone and local time, the widget’s language, and the country
- timestamps, and which teammate replied
- on {{planLabel:pro}} and above, the logged-in user id your site passes us, if you set it up
What we don’t store: IP addresses (used in memory to deliver messages, rate-limit and look up the country in an offline database, then dropped), browsing history (only the page they wrote from and the one they came from, nothing before that), fingerprints.
How long: chat history is deleted after {{historyDays:starter}} days on {{planLabel:starter}}, {{historyDays:pro}} on {{planLabel:pro}} and {{historyDays:agency}} on {{planLabel:agency}}, and it’s gone from backups 30 days after deletion. You can delete any conversation earlier, from the dashboard, the API or the MCP server, and export everything we hold for a site as JSON. If you cancel, once the paid period ends, history older than 3 days is hidden for 30 days, comes back if you pick a plan in that time, and is deleted after that. If you delete the site, its chats are wiped within minutes.
where the data goes
Our subprocessors are listed in the DPA. In short:
- Hosting in the EU.
- Cloudflare, as network proxy and CDN: every request to our hosts passes through it in transit.
- Cloudflare R2, for encrypted database backups, kept in the EU.
- Postmark, to send reply emails to visitors who left an email (on {{planLabel:pro}} and up) and notices to your team.
- OpenRouter, for intent tags and live translation. Both are coming soon and off for every site, so today nothing goes there.
The places you connect yourself, your Slack workspace, your webhook endpoint, your AI agent, are not our subprocessors: we send data there because you tell us to, and their terms and retention apply. A chat mirrored into Slack stays in Slack as long as your workspace keeps messages.
what still belongs in your privacy notice
A widget that needs no consent to load still processes personal data once someone writes. Your privacy notice should say that the site has a chat, what happens to messages, who processes them (Spookat, and whatever you connect), and how long they’re kept. Our terms ask you to do exactly that, and the privacy page has the facts in plain words you can point to.
Your cookie banner is about everything else on the page. If your site loads analytics, ad tags, embedded videos or fonts from third parties before consent, those still need it. Spookat doesn’t add a line to the banner, but it can’t remove the ones other scripts need.
loading the chat only after consent
Some sites gate every third-party script behind the banner, as a policy. You can do that with Spookat too: most consent tools can hold a script tag until the visitor accepts a category. The cost is that visitors who reject, or ignore, the banner get no chat at all, and those are often the people with a question.
If your lawyer is comfortable with how Spookat behaves before a click, loading it without a gate gives every visitor the button. If they’re not, gate it, and consider a plain contact link on the page for everyone else. Either way, the widget’s behavior doesn’t change: nothing on the device until a message.
check it yourself
Don’t take our word for it. In a private window, with DevTools open:
- Application, then Cookies and Local storage for your domain. Load the page. Nothing from Spookat.
- Network, filtered by
spookat. One request: the launcher. Nothing toapi.spookat.com. - Click the launcher. The panel loads, the connection opens. Check Application again: still nothing.
- Send a message. Now local storage has one
spookat:key. Cookies: still none from us.
If you use a consent tool that scans your site for cookies and storage, run a scan: it should find nothing from Spookat before interaction.
the questions to bring to your lawyer
We can tell you what our code does. We can’t tell you what your law says about your site. Take this list to someone who can:
- Does the local storage key written after a visitor’s first message fall under the “strictly necessary for a service explicitly requested” exception in our country?
- What legal basis do we use for processing chat messages under the GDPR, and does it cover the reply emails?
- Does our privacy notice describe the chat, its processors and its retention correctly?
- If we pass the logged-in user id, what does that change?
- Once intent tags or live translation ship (coming soon, off for every site today), do they need their own mention?
- Do the channels we connect (Slack, our agent) need to be named in the notice?
Our DPA and privacy policy are there for them to read. The widget stays quiet by default; the rest is a conversation with someone who knows your law.
Ask your lawyer.