Cobrowse Agent Events

Agent Events are the events included within the agent side behavior of Cobrowse:

Event Name Object Passed to Event Handler Description
sessionend {msg : [a description of the error]} sessionend occurs when the session ends. The object passed to the event handler may be undefined, or may contain a reason code. Please see reason codes.
navigate navigate occurs when a visitor navigates to a new page. The object passed to the event handler will include information about the browser and URL.
agents {count : [agent count]} See the visitor side agents event.
rcrequest {"response":["accepted" | "declined"]} rcrequest occurs when the visitor responds to a request for remote control.
rc {enabled : [true | false],suspended : [true | false]} rc occurs when the remote control state changes. The enabled property indicates whether remote control is currently enabled. The suspended property indicates whether control is temporarily suspended due to visitor mouse or keyboard activity. See the visitor side rc event.
screenshare {screenshareView : "[glance_agentvideo|glance_screenshare]", state: "[accepted|declined|joined|ended]"} screenshare occurs on the agent side when a visitor accepts, declines, joins, or ends a Screen Share session.
userstate User state object, as passed in by the visitor side call to

userstate occurs whenever the visitor side sets user state with the

GLANCE.Cobrowse.Visitor.setUserState() method.
An object describing the access violation. Properties may include: rcrequested: The agent attempted to request remote control. accessdenied occurs whenever the agent attempts to do something for which they do not have the appropriate privileges.

Session End Reason Codes

Error Reason
UnsupportedBrowser Agent's browser is not supported for Cobrowse.
SSOError SSO authentication failed.
NoSession Session Key is invalid or the session has not started yet.
InvalidCobrowseSub Authenticated user does not have a valid subscription for viewing Cobrowse sessions.
ExpiredCreditCard Credit card on the account has expired.
DeclinedInvoice Credit card for the account was declined.
ConnDrop Agent’s connection to the Glance Cobrowse server dropped.
AgentRefresh Agent refreshed the browser.
AuthError Authentication with the Cobrowse service failed.
LookupFailed Agent was unable to connect to the Glance web service to lookup the session.
VisitorLeft Visitor left the session.
AgentLeft Agent left the session. If the agent was the last agent in the session, the session ends.

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