Sample flows

This article shares some possible use cases your app could support, as well as an example flow that could support each use case. You're certainly not limited to these use cases, but they can be a helpful jumping off point as you plan your app's implementation.

Beta Feature:

This functionality is currently available to select beta users only.

Record a visitor session and notify Wix that a recording has been made

When your app recognizes that a visitor session has begun, your app should:

  1. Collect the browser session ID.
  2. Record the visitor's session on the site, and map it to the browser session ID.
  3. Notify Wix that a recording has been made by calling the Mark Session as Recorded endpoint and passing the browser session ID.

Display session recordings to users based on Wix's filter data

When a site user (admin or contributor) accesses the dedicated entry point for your app:

  1. Wix calls your extension's iframe URL with filter data as query parameters.
  2. Collect the filter data from the query parameters.
  3. Call List Sessions Async with the filters from step 2.
  4. Collect the job ID and call Get List Sessions Job Result.
  5. If the job is complete, collect the returned session IDs.
  6. Display the browser sessions with the IDs returned in step 5.
Did this help?