Skip to main content

Front Chat now lets you initiate chats instead of waiting for visitors to reach out. Trigger a message on key pages and add quick-reply buttons or open-ended prompts. Use it to send service alerts, engage high-intent leads, highlight new features and more. Learn more

We’d love to use this with query parameters to display proactive messages in our live streaming dashboard based on the status of the device. For example, if a streaming device has low battery, we would add

?lowbatt=true

to the URL.

This works if the page is loaded with the URL param using “URL Contains”, but if the URL is updated after the chat widget is initialized, it doesn’t pick it up.
 

Is there a way to trigger the proactive message without needing to refresh the page? We’ve tested ‘window.history.pushState’ and ‘window.history.replaceState’ but neither seem to trigger the proactive message.