Skip to main content

Session Type

The Session object identifies the session being evaluated. It is the session field of the Predict User and Predict Anonymous request bodies.

Structure

UTM

The utm object records how the visit arrived, using the standard utm_source, utm_medium and utm_campaign values.
  • Each value is 1 to 64 characters from A-Z, a-z, 0-9, _, . and -.
  • On the web, the Verisoul SDK reads these values from the landing URL, so most web integrations can leave utm out.
  • Send utm for native apps, or when your server knows the attribution. A value you send replaces the one the SDK read.
  • The response returns the stored values in session.utm. A field is null when it is unknown.

Example