How to force single conversation and avoiding multiple conversations opened?

If you want to avoid that multiple conversations will be opened you can use this simple setting

If you want to avoid to have multiple conversations be opened from the live chat you can use a simple setting in your Customerly Live chat integration code like this:

"singleConversation": true

This will be the resulting script with the option single_conversation included:

<!-- Customerly Live Chat Snippet Code -->
<script>     
!function(){var e=window,i=document,t="customerly",n="queue",o="load",r="settings",u=e[t]=e[t]||[];if(u.t){return void u.i("[customerly] SDK already initialized. Snippet included twice.")}u.t=!0;u.loaded=!1;u.o=["event","attribute","update","show","hide","open","close"];u[n]=[];u.i=function(t){e.console&&!u.debug&&console.error&&console.error(t)};u.u=function(e){return function(){var t=Array.prototype.slice.call(arguments);return t.unshift(e),u[n].push(t),u}};u[o]=function(t){u[r]=t||{};if(u.loaded){return void u.i("[customerly] SDK already loaded. Use customerly.update to change settings.")}u.loaded=!0;var e=i.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://messenger.customerly.io/launcher.js";var n=i.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};u.o.forEach(function(t){u[t]=u.u(t)})}();         
  
customerly.load({    
    app_id: "00c4ed07",
   "singleConversation": true
 });

</script> 
<!-- End of Customerly Live Chat Snippet Code -->

Check out other custom settings for the live chat in this article.