Listening for events

You can hook into the Birdie callback named onBirdieAction, which will provide you with some events during a co-browsing session. To register this callback, use the birdieSettings object you are already using to identify your customer (see Snippet installation section), as demonstrated in the example below:

window.myBirdieCallback = function(event) { 
	// your own code here…
	// console.log("myBirdieCallback event is:", event) 
}

window.birdieSettings={
  onBirdieAction: myBirdieCallback,
};

List of events

Event Name
Description

A co-browsing session has started.

A co-browsing session has ended.

An agent is asking to start a co-browsing session

An agent canceled a co-browsing session request

A co-browsing session has been refused by the customer

A co-browsing session has been accepted by the customer

An agent is asking to start a video/audio call

An agent canceled the video/audio call request

A video/audio call has been refused by the customer

A video/audio call has been accepted by the customer

Last updated