Skip to main content

I have set up the intercom code snippet on several pages across our application, however every page visit across them is being recorded as if the home page was being visited. This leaves us without proper context for support requests coming in through the bot.

Any idea whats wrong with our code or what we can do to extend it to more accurately capture the right page URL?

 

Hey @Chris Perry Racheal from the support engineer team here👋

 

It sounds like your site may be a single page application. Websites that are a Single Page Application (SPA) are characterized by very few page refreshes and lots of asynchronous JavaScript require Intercom integration in a slightly altered way. This involves including the Intercom JavaScript library file in your HTML head element and making a few extra JS calls. The linked documentation on integrating Intercom in a SPA will provide complete details.


Reply