Setup

To use the AnalyticsSession API, install the @wix/analytics-session package using npm or Yarn:

Copy

or

Copy

Then import { analyticsSession } from @wix/analytics-session:

Copy
Did this help?