Zopim API to clear the chat cookies
AnsweredOur website requires user to login first. And once they login, and start to type in the message box, but not click 'enter' to submit and sign-out the site, and log-in back again, the message still stay there (in the message box) until they manually clear the cookie on the browser.
But the current solution of Zopim API is the user manually enable/disable the cookies and chat, which still occur the same issue as above. So for the Zopim api, is there any way we can force the cookie clear at the client side (after they log-out)?
-
Hi Stan,
There is a JS API to clear the cookie: https://api.zopim.com/files/meshim/widget/controllers/LiveChatAPI-js.html#clearAll
Doing this will also wipe their identity so if a returning visitor comes back and enters their information, they will be viewed as two separate visitors.
-Ramin
Please sign in to leave a comment.
2 Comments