flowhelp flowhelp Documentation Search the docs

Visitor consent

You choose the consent mode in Appearance → “Privacy” tab → “Visitor consent”. In “blocked” mode your own cookie banner passes consent to the widget with grantConsent().

On this page

The three modes

Choose the mode that matches the legal basis you use on your website.

Mode in the dashboard Code What happens
“Chat right away” open The widget works immediately, with no consent question.
“Chat after clicking “I agree”” deferred The default. The chat button is visible, but the first message waits for consent. The visitor clicks “I agree” in the banner in the window, or your page calls grantConsent(). A message typed before consent waits and is sent right after it.
“Widget hidden until your site passes consent” blocked The widget draws nothing, neither the button nor the window, until your page calls grantConsent(). An earlier open does nothing.

In blocked mode, call grantConsent from your own cookie banner once the visitor gives consent. Call revokeConsent when they withdraw it.

JS
window.flowhelp = window.flowhelp || [];
window.flowhelp.push(['grantConsent']);   // the visitor agreed
window.flowhelp.push(['revokeConsent']);  // the visitor withdrew consent

revokeConsent() ends the current conversation (it clears the window), and in blocked mode it hides the widget again. The visitor identifier stays. Only reset() deletes it.

After a page reload or a move to another page, deferred and blocked start over. In deferred the visitor clicks “I agree” again. In blocked your page must call grantConsent() on every page load. A cookie banner usually remembers consent itself, so you can hook the call to its start.

In deferred mode a resumed conversation comes back to the window only after the visitor clicks “I agree” again. Until then the widget sends no request.

What the widget stores in the browser

The visitor identifier is a UUID in localStorage (flowhelp:visitor:<key>). It goes to sessionStorage when localStorage is blocked. The widget uses no cookies.

It writes the identifier only on the first interaction: the first message, a rating of an answer or a form submission. Loading a page with the widget writes nothing to the browser, not even an entry that checks whether storage is available.

The AI notice

The first message always includes the AI notice (EU AI Act, Art. 50). You can edit its wording in the dashboard, but you cannot turn it off. See Greeting and suggested questions.

As the controller of your site visitors' data, you inform them about the processing at the moment you collect it (GDPR Art. 13). In Appearance → “Privacy” tab → “Privacy policy URL” you enter the address of your policy. The widget then shows a “Privacy policy” link in the language of the chat window, for example “Datenschutzerklärung” in German, “Politique de confidentialité” in French and “Informativa sulla privacy” in Italian. The link appears:

  • in the consent banner in the chat window (deferred mode), above the “I agree” button;
  • in the contact form and in the “talk to a person” form, above the “Send” button, in every consent mode, including “Chat right away”.

The link opens in a new tab. Only https:// addresses are accepted, up to 2000 characters. An empty field means no link.

In blocked mode the widget has no consent banner of its own. Your banner shows the consent request and the link to your policy, and the widget adds the link only in the forms.

The link is a plain hyperlink and loads nothing from your site, so it needs no Content-Security-Policy changes.

See also

Last changed: November 24, 2026 View Markdown
Ask about this page ChatGPTClaude
↑ ↓ to choose, Enter to open, Esc to close