I am trying to use the fresh chat widget in a Ruby on Rails turbolinks site. This works when the page first loads, but when navigating to a new page, the widget does not appear. As you might know, Turbolinks works by stopping user navigation and instead loading the body of the new page, without actually reloading the page. This behavior seems to break freshchat as the widget still considers itself initialized on the new page although the HTML DOM that it rendered has been removed.
Is there a way to make fresh chat work under these circumstances?