JavaScript SDK - getSessionURL method
This method allows you to gret the URL of the active session. The URL is for OpenReplay’s dashboard and this method is useful if you’re looking to integrate OpenReplay into your own stack.
Signature
Section titled SignaturegetSessionURL({ withCurrentTime?: boolean }): string | undefined
Parameters
Section titled ParameterswithCurrentTime: boolean
: Optional parameter, by default it’sfalse
. Iftrue
, the URL will contain the timestamp for the moment inside the replay when the method was called.
Return value
Section titled Return valueThis 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.