JavaScript SDK - getTabId method

Details about the getTabId method from OpenReplay's SDK

JavaScript SDK ⁠-⁠ getTabId method

This method returns the ID of the current browser tab inside the session. A single session can span several tabs, and each of them gets its own tab ID.

getTabId(): string | null

Returns the ID of the current tab, or null if the tracker isn’t initialized.