Making Marketo dynamic chat disappear once user navigates away from target page
We want a dynamic chat dialogue to load only when visitors visit a certain page on our website. e.g. /thank-you - this works fine by specifying this page as the only target URL in the list of target URLs in the dialogue settings.
However, once visitors navigate away from that page, the chat dialogue icon remains for the rest of their session, even if they minimise it and move to pages which are not in our list of target URLs.
This creates potential conflict with a chatbot we have on other pages of our site for a different purpose. Is there anyway to make the dialogue disappear completely once they navigate away from the target page?