Object Types
Visitor
A Visitor represents a person connected through the UserView SDK who is available to co-browse with.
Attributes
Attribute name | Type | Description |
---|---|---|
|
| The first time the Visitor was seen. |
|
| Your public API key. |
|
| The name of the browser used by the Visitor (e.g. |
|
| The call identification (used for the Agent's personal link). |
|
| The name or brand of the device (e.g. iPhone). Always null for non-web SDKs. |
|
| The category of device the Visitor is connecting from. It will be one of |
|
| The Visitor's email. |
|
| A list of |
|
| The auto integration we have performed on this Visitor. This will be set to the live chat system you have installed on the page last visited by the Visitor. |
|
| The IP address the Visitor last connected from. |
|
| A boolean describing whether the Visitor is currently screen sharing with someone. |
|
| A boolean describing whether the Visitor is currently connected to UserView (and available for screensharing). |
|
| A boolean describing whether the Visitor's browser supports Userview. |
|
| A boolean describing if the Visitor is waiting for a call from the agent. |
|
| A boolean describing whether the Visitor has has configured UserView through the Javascript API in a way that could conflict with the account's general settings. This is also set to true if configured through mobile SDKs public APIs. |
|
| A timestamp of the last time the Visitor was seen on the website |
|
| The last url the Visitor has visited. |
|
| The city the Visitor is in (according to their IP address). If the city is not known, this will be null. |
|
| The country (name) the Visitor is in (according to their IP address). If the country is not known, this will be null. |
|
| The country (code) the Visitor is in (according to their IP address). If the country is not known, this will be null. |
|
| The code your agent can search for to quickly find the Visitor in the interface. If not set, it will be null. |
|
| It will return the first item from |
|
| It will return the Visitor's name, the first part of the Visitor's email, or the Visitor's ID. |
|
| The UserView ID of the Visitor. |
|
| The value provided in the |
|
| The unique ID used to identify the Visitor. If this was not set, it will be null. |
|
| A public URL used to start a session with the Visitor. |
|
| Either |
Session
A Session is a co-browsing interaction between one or more Agents and a Visitor.
Call vs Session
Throughout the docs, you'll see the concept of Calls and Sessions.
Sessions can happen with or without Calls, which are the audio component of a Session.
Attributes
Attribute name | Type | Description |
---|---|---|
|
| The collection of agents that joined the Session. |
|
| The notes taken by the agents. |
|
| The duration of the audio call in seconds. |
|
| The username of the Agent that initiated the Session through their personal link. |
|
| The datetime of when the Session ended. |
|
| The collection of features used (e.g |
|
| The duration of the audio call formatted (e.g |
|
| The duration of the Session formatted (e.g |
|
| Metadata from the Session creation, plus the metadata from the Visitor object with the keys prefixed with |
|
| The feedback by the Visitor and the Agents on the quality of the Session. |
|
| The rating feedback by the Visitor for the Agent. This is only present if there is a single Agent. |
|
| The rating left by the Visitor for the Agent. This is only present if there is a single Agent. |
|
| The email for the Visitor. |
|
| The IP address for the Visitor (always present unless the Visitor data has been deleted). |
|
| The unique ID for the Visitor. |
|
| The ID of the Session. |
|
| The duration of the Session in seconds. |
|
| A boolean describing whether the Session happened on an on-premise version of UserView. |
|
| A public URL for the recoding of the Session, if one is available, which requires the viewer to be authenticated into UserView. |
|
| A secret URL pointing directly to the video recording of the Session, if one is available. |
|
| A boolean describing whether the Session was authorized by the Visitor. |
|
| A number describing the source of the Session. One of: |
|
| The URL the Visitor was at when the session started. |
|
| The datetime of when the Session started. |
|
| The status of the Session's video recording. One of |
|
| The ID of the Visitor. |
|
| A log of attempted webhook deliveries. |
|
| A boolean describing whether the Session actually started. |
Agent
An Agent is someone who started or joined the Session as an observer.
Attributes
Attribute name | Type | Description |
---|---|---|
|
| The Agent's nickname. |
|
| The Agent's email. |
|
| If generated through the REST API, the ID provided by you. |
|
| The Agent's id within Co-Browsing API. |
|
| The Agent's name. |
|
| A boolean describing whether the agent is on premise. |