Home > @snowplow/browser-tracker > newSession
Expires current session and starts a new session.
Signature:
declare function newSession(trackers?: Array<string>): void;| Parameter | Type | Description |
|---|---|---|
| trackers | Array<string> | The tracker identifiers which will have their session refreshed |
Returns:
void