JavaScript SDK ⁠-⁠ getSessionURL method

This method allows you to gret the URL of the active session. The URL is for OpenReplay’s dashboard.

This method is useful if you’re looking to integrate OpenReplay into your own stack.

getSessionURL(withCurrentTime?: boolean): string | undefined
  • withCurrentTime: boolean: Optional parameter, by default it’s false. If true, the URL will contain the timestamp for the moment inside the replay when the method was called.

This method returns the URL of the active session to be replayed on OpenReplay’s platform. Optionally, the URL can have the timestamp of the moment when the method is called to directly jump ahead in the replay.