Yash
Yash•3h ago

Which cookies are neccesary for the chatbot

Whenever we reject cookies on our website we see the chatbot doesn't appear on the website. can you tell us the necessary cookies which we will then enables on our website.
1 Reply
Tico | Voiceflow Assistant
Hi there 👋 Voiceflow’s chat widget doesn’t set any browser cookies at all – it only relies on Web Storage for conversation persistence: • localStorage (default) – lets the conversation survive page reloads and future visits. • sessionStorage – survives page reloads during the current browser session only. • memory – no storage; conversation resets each refresh. If your cookie-consent tool blocks access to localStorage / sessionStorage when users click “Reject”, the widget can’t initialise and will stay hidden – which is what you’re seeing. What you can do: 1️⃣ Whitelist localStorage access for your own domain (no third-party cookie is involved) so the Voiceflow script can save a small JSON object under the key vfrc. OR 2️⃣ Tell the widget not to use storage at all by adding the persistence setting:
<script>
window.voiceflow.chat.load({
verify: { projectID: 'YOUR_PROJECT_ID' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production',
assistant: {
persistence: 'memory' // avoids localStorage, works even when storage is blocked
}
});
</script>
<script>
window.voiceflow.chat.load({
verify: { projectID: 'YOUR_PROJECT_ID' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production',
assistant: {
persistence: 'memory' // avoids localStorage, works even when storage is blocked
}
});
</script>
So there are no "necessary cookies" to enable – just make sure your consent manager isn’t blocking localStorage for the page, or switch the widget to memory persistence. Docs: https://docs.voiceflow.com (see “Chat persistence”).
Voiceflow
Welcome to Voiceflow's docs
Build, manage, and deliver chat and voice agents for customer support and beyond.

Did you find this page helpful?