Setup

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

Copy

or

Copy

Then import { analyticsData } from @wix/analytics-data:

Copy
Did this help?