JavaScript SDK ⁠-⁠ 'stop' method

This method stops the tracker and the active session. If you don’t use this method, the session will be stopped automatically a few minutes after you close the tab or move out of your site.

stop(): string | undefined

Returns the sessionHash of the stopped session.