Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Disconnect and pop up survey if user close the tab of chat landing page — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Disconnect and pop up survey if user close the tab of chat landing page

Question
14
Views
0
Comments
edited May 13, 2020 11:38AM in Communication Channels

Summary

Disconnect and pop up survey if user close the tab of chat landing page

Content

Hi All,

I am trying to disconnect the chat and popup the related survey on closure of the tab of chat landing page from user end.

I have extended the standard widget "Chatdisconnectbutton" and subscribed to the event window.onbeforeunload and from the event handler I am able to disconnect chat by subscribing to event "evt_chathanguprequest" through parent onclick() method. But I am unable to pop the survey.

If I directly click the disconnect button, then survey is popped up as chat rule is set like "PopUp survey" if chat completed.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!