Skip to main content

browser-tracker.newsession

Home > @snowplow/browser-tracker > newSession

newSession() function

Expires current session and starts a new session.

Signature:
declare function newSession(trackers?: Array<string>): void;

Parameters

ParameterTypeDescription
trackersArray<string>The tracker identifiers which will have their session refreshed
Returns:

void