Clear conversation command not working on page unload event

I am trying to clear the web messaging window in case a user closes the browser/tab. I tried calling the command om beforeunload event for the page but its not getting executed. Please suggest

Genesys("command", "MessagingService.clearConversation").

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.