Let's Chat?

Presence Agent Side

The Glance Presence scripts provide functionality for:

  • Tracking the presence of visitors on a website, including visitor identity, browser and platform information, as well as custom data.

  • Signaling website visitors to take actions such as starting a Cobrowse session.

Glance Presence includes both:

  • Visitor side functionality to send visitor data to the Presence service and listen for agent commands.

  • Agent side functionality for looking up visitor information and signaling visitors.

On the Agent side, Glance Presence functionality can be integrated into web based or desktop agent tools.

Options for Invoking the Agent API

The Presence Agent API can be invoked via:

  • JavaScript from the browser

  • Web service API from the browser or desktop client application

  • Web service API from a server

Error Handling

Some API's will accept an "onfail" parameter, a function which will be called with an error code if an error occurs.

Error Codes

Error Description
Agent is not authorized to carry out the requested action.
Visitor is not present to receive a message that the agent is attempting to send.

Errors can also be reported via an "onerror" function defined on the Presence.Visitor or Presence.Agent object.

By continuing to use the site, you agree to the use of cookies. Learn More