Showing and hiding the Chat window

Have more questions? Submit a request

4 Comments

  • Oscar Jimenez

    Hello, sorry I am not developer, I want to only show the zendesk chat on some pages of our website, but I can't, customer service couldnt help me, they gave me this script but it didnt work.

     

    <script>
     
    var url = (window.location.href);
     
     
    {
    $zopim(function() {
    $zopim.livechat.hideAll();
    });
    }
     
    else {
    $zopim(function() {
    $zopim.livechat.window.show();
    $zopim.livechat.button.show();
    });
    }
    </script>
     
     
    I will thank you your help.
     
    Regards
    0
  • Darwin Stephenson

    You can do this with Google Tag Manager. Instead of loading the Zendesk Script in your header, load Zendesk via GTM and then trigger it to fire on the pages you desire.

    0
  • rogelli

    How can I hide widget in free plan via API script. please provide example. shall it be at the start of the widget script? thanks

    1
  • Jay Torborg

    I am using the trial version of Chat. In the Settings section under Widget, I only see General Preferences and Satisfaction Ratings. I am not finding a Hide Widget section. 

    0

Please sign in to leave a comment.

Powered by Zendesk