JavaScript Embed Features
Floating Initial Messages
A small chat-bubble preview that floats above the widget icon before it’s opened. Used to proactively invite the user — ‘Need help?’, ‘Got a question?’.
What it is
A small bubble with one or more lines of text, anchored above the chat launcher. Clicking it opens the chat. Dismissing it (close X) hides it for the rest of the session.
Different from Custom Initial Messages, which appear inside the chat panel after the user opens it. Floating messages live outside the panel and are designed to get the user to open it.
Configure
js
window.chatmountConfig = {
showFloatingInitialMessages: true,
floatingInitialMessagesDelay: 2,
floatingMessagesOncePerSession: true,
};Fields:
showFloatingInitialMessages(boolean, defaultfalse) — toggles the featurefloatingInitialMessagesDelay(number, seconds, default2) — delay before the bubble appearsfloatingMessagesOncePerSession(boolean, defaulttrue) — show once vs. every page load
Best practices
- Wait at least 5–10 seconds — instant pop is jarring
- One bubble per session unless the user shows clear intent (scrolled to pricing, abandoned a form)
- Keep the line short — earn the click with one tight prompt
Related