Dismiss Behavior
Control what happens after a visitor closes a floating message or chat widget. Choose how long the element stays hidden before appearing again.
Behavior Types
| Behavior | Storage | Effect |
|---|---|---|
ALWAYS | None | Re-appears on every page load |
SESSION | sessionStorage | Hidden until the browser tab/session ends |
DURATION | localStorage (timestamp) | Hidden for N hours, then shows again |
PERMANENT | localStorage | Never shown again on that device |
Storage Details
Dismiss state is stored in the visitor's browser using the key format:
fm_dismiss_{messageId} // for floating messages
fm_dismiss_chat_{userId} // for chat widgetDURATION Behavior
When using DURATION, the current timestamp is saved to localStorage. On subsequent page loads, the script calculates the elapsed time. If fewer hours have passed than the configured duration, the element remains hidden.
You can configure the duration in hours or days in the dashboard. Days are converted to hours internally (e.g., 2 days = 48 hours).
Private Browsing
If the visitor's browser blocks localStorage or sessionStorage (e.g., in private/incognito mode), the dismiss check fails open — meaning the message will be shown. This ensures visitors always see your content even in restricted browsing modes.