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.
SignatureSection titled Signature
getSessionURL(withCurrentTime?: boolean): string | undefined
ParametersSection titled Parameters
withCurrentTime: boolean: Optional parameter, by default it’s
true, the URL will contain the timestamp for the moment inside the replay when the method was called.
Return valueSection titled Return value
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.