Consider a single page application written in vanilla JS (to avoid framework-specific answers). I have an app in which I load Intercom by default, but I want to hide the widget in specific pages. That should be doable from Intercom itself, as shown in this article in their help center, but it doesn’t really work in single page apps –