Track visitors but disable chat on website

Track visitors but disable chat on website

Hi,

I have set up tracking on a website but don't want to have the chat possibility.
In the forum I found a script to disable but it doesn't seem to work in Google Tag manager.

I have tried two different scripts and a combination:

<script type="text/javascript">
var $zoho=$zoho || {};$zoho.salesiq = $zoho.salesiq || {widgetcode:"f7262e2e9abb4359c02f2baf0c67945e208aa18c46593042ef2ace13fad44d5e", values:{},ready:function(){}};var d=document;s=d.createElement("script");s.type="text/javascript";s.id="zsiqscript";s.defer=true;s.src=" https://salesiq.zoho.eu/widget";t=d.getElementsByTagName("script")[0];t.parentNode.insertBefore(s,t);


 $zoho.salesiq.ready=function(embedinfo)
  {
      $zoho.salesiq.floatbutton.visible("hide");
  }
  

</script>

Please advice...