startNewSession

The startNewSession() method starts a new session.

Syntax

getTracker().startNewSession();
tracker.startNewSession()

Examples

To start a new session:

getTracker().startNewSession();
tracker.startNewSession()