Widgets Self Auto-Popping
Have noticed that for some hours now a number of my clients chat widgets are auto opening without specifying it to do. Any assist on this? @Chidi
2 Replies
Why the widget suddenly "pops" open
Voiceflow’s web-chat remembers the last state of the widget (open / closed + the current conversation) by default.
That’s because the standard embed snippet uses With
• Normal incoming messages – only
Chat persistence options → https://docs.voiceflow.com
Custom triggers (open / close API) → https://docs.voiceflow.com
That’s because the standard embed snippet uses With
localStorage
the widget saves a flag in the browser. If a visitor opened the chat at any point, every subsequent page load – even hours or days later – will reload the widget already opened. Nothing else in your code has to call open()
for this to happen.
---
How to stop it
1. Disable persistence entirely (widget always starts closed):
2. Only remember the session until the browser is closed (resets next visit):
3. Force-close on page load (if you still want to keep localStorage
for the convo):
---
Things that do not open the widget
• Proactive message bubbles – they sit on the launcher but won’t open the window.• Normal incoming messages – only
open()
or the persistence flag re-opens it.
---
Give one of the options above a try; once persistence is set to 'memory'
or you manually call close()
in the on-load callback the widget will stay minimised until the visitor decides to open it.
Docs for reference:Chat persistence options → https://docs.voiceflow.com
Custom triggers (open / close API) → https://docs.voiceflow.com
Voiceflow
Welcome to Voiceflow's docs
Build, manage, and deliver chat and voice agents for customer support and beyond.
All uses "memory". @Chidi any assist