The Analytics Sessions API enables developers to access session IDs collected from Wix sites.
Beta Feature:
This functionality is currently available to select beta users only.
A session is a visit of a visitor to a site. A session starts when a visitor reaches the site, and ends after 30 minutes of inactivity. Within each session, a visitor can take multiple actions and view multiple pages. Each session is identified using a browser session ID.
Wix offers select beta users an entry point to access selected analytics apps that record visitor sessions. When a site user (admin or contributor) accesses the entry point, Wix passes all relevant filters appended to the iframe URL, and your app can use the filter data to request a list of relevant visitor sessions from Wix. With this API, your app can extend Wix analytics data to help site owners identify pain points and find areas for improvement.
import { analyticsSession } from "wix-analytics-session.v2";