Retrieve a Session Link in Javascript for the Currently Recording Session

You can retrieve a full link to the session recording for the user currently being recorded in the browser by accessing the Inspectlet javascript object (__insp).

The deep link to a session looks like this: http(s)://{website-id}/{session-id}?pn=1

website-id = javascript variable __insp.wid, constant
session-id = javascript variable __insp.sid

Recording the Inspectlet session ID in your database (or passing it into another service) lets you link directly to a session recording for a user visit from your own backend or other dashboards.