Hubspot chat interface with Single Page Applicaiton


Hey Guys, I have configured Hubspot for my production app, and put this script at the end of the <body> tag:

<!-- Start of HubSpot Embed Code -->
<script type="text/javascript" id="hs-script-loader" async defer src="//"></script>
<!-- End of HubSpot Embed Code -->

My App is a Single Page Application with server side routing handled. the problem is, when I visit the page, or do a full page refresh, chat widget is visible. But If I visit pages with SPA routing, chat widget does not show up.


Hi @Shivraj_Badu,

Do you have a link to an example that I could check out to try and reproduce this issue myself? It's tough to say with certainty what might be going on without getting the chance to take a closer look.