@dash0/sdk-web
Version:
Dash0's Web SDK to collect telemetry from end-users' web browsers
9 lines (8 loc) • 384 B
TypeScript
export declare let tabId: string | null;
/**
* We want to be able to identify what browser tab the user is looking at. We do this by identifying tabs through
* random-generated IDs that are kept in session storage. To quote MDN:
*
* > sessionStorage is partitioned by both origin and browser tabs (top-level browsing contexts)
*/
export declare function initializeTabId(): void;