When a chat completes, we would like to use the setOnChatEnd() callback to download the data associated with that chat for our own internal customer service metrics.
The problem I'm having is that I do not know the chat id in order to download the chat. I'm currently using the $zopim.livechat.getName() function and then subsequently using that along with the chat timestamp to download the chat record.
Is there a way to find the chat id and/or is there a better way to go about this?
Iniciar sesión para dejar un comentario.