UNPKG

@yext/analytics

Version:

An analytics library for Yext

7 lines 366 B
/** * Retrieves session id from session storage, or generates a new ULID to use as session id. * The new id is then stored in session storage. Returns null if the sessionStorage API is * unavailable (e.g. The function is running on the server for SSR). */ export declare function getOrSetupSessionId(): string | null; //# sourceMappingURL=setupSessionId.d.ts.map