Chat not loading when navigating in Salesforce Experience Cloud/Community Cloud

To ensure that chat sessions are continued across pages, place the Embedded Service component in your site's template footer.