Question
Can I use the visitor page URL condition to trigger a proactive message if I use the web widget on a SPA website?
Answer
No, the condition visitor page URL for proactive messages is not supported if the web widget is installed on a SPA website. This limitation is due to the way SPA websites are structured.
SPA websites use a mechanism that allows users to navigate between different pages that doesn't force a full page reload. As a result, the Document Object Model, know as DOM, and the associated page doesn't refresh during navigation.
Because the page doesn't reload, the necessary checks and updates cannot be performed in real-time in place. Therefore, the web widget cannot accurately determine the visitor's current location within the site. For more information, see this article: Creating proactive messages for the Web Widget.
0 comments