Start an async job to retrieve a list of session IDs, given the specified filters. The following filters must be passed:
function listSessionsAsync(
options: ListSessionsAsyncOptions,
): Promise<ListSessionsAsyncResponse>;
Filter options. The following filters must be passed:
Time period, either predefined or custom.
Session filter, either navigation flow (page interactions), conversion funnel steps, or device type.
import { analyticsSession } from "@wix/analytics-session";
async function listSessionsAsync(options) {
const response = await analyticsSession.listSessionsAsync(options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.