Question

2
Replies
120
Views
Close popover
Shanthkumar Rebello (SKUMAREB)
HealthNet

HealthNet
US
SKUMAREB Member since 2017 13 posts
HealthNet
Posted: August 7, 2018
Last activity: August 7, 2018
Closed
Solved

Pega Chat client side script to check if chat is ended

We would like to perform some action on the website once the Pega chat is ended. We tried with following script with 'chatEnded' event . This doesn't seem to be working. Any idea what might be wrong here?

fireflyChatAPI.ready(function(){
fireflyChatAPI.chatHub.on({scope: 'chatHub', type: 'chatEnded'}, function() {
alert("Chat Ended");
});
})

Pega Customer Service Conversational Channels
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.