Adding a click-to-chat link

17 Kommentare

  • Help Desk


    How do I get into my source code? I've read that there should be a link in the bottom right of my screen in customization but I don't have that option?

  • Jessie Schutz
    Zendesk Customer Care

    Hi Nigel!

    As long as you're logged into Help Center as an agent, you'll be able to see the editor box in the lower right corner of your Help Center (not your agent interface):

    Click on Customize Design, then Edit Theme, and you'll be able to see the tabs to access your HTML, CSS, and JS source code:

    Let me know if you have any other questions!

  • Diziana

    Thanks Jessie to walk him through.

    @Nigil, hope this would have worked.

    Let me know if we can offer any further help

    Thank you


  • Sheila R

    Does this work for adding a link to chat on a website or just the help center? I need to be able to have chat open when you click a button on a website.

  • Jessie Schutz
    Zendesk Customer Care

    Hey Sheila!

    I don't know whether this would work on an external site, but we do have a web widget that will make chat and Help Center available on external sites. You can find our more about that here: Using Web Widget to embed customer service in your website.

  • Diziana

    @Sheila: This would work on your website. 

  • Anishamol Antoo

    Hi Team,

    I copied the above two codes ,to enable chat widget on button click.It is working fine.But i also have the default chat widget in copenhagen theme.Can you please tell me how to hide the default chat widget?

    Also is it possible to have similar kind of widget on button click for emails as well?

  • mikeisrain

    When i attempt to do this over HTTPS (which my website is using) it gives a console error stating it's trying to load insecure content. How do I configure this to load the correct HTTPS chat window?

  • Daniel Yousaf

    Hi Mikeisrain!

    I'd like to open a ticket for us, as we'll need account-specific info to properly address the issue.   You'll receive an email from me shortly :)


  • john gaspay

    I've tried solution on the top but none works so I've tried using this solution that works on me.

    If you are using button you can use this, this works on me.

    1. <button onclick="zE.activate();">Chat Us</button> 

    2. or using text link <a href="javascript:zE.activate();">Chat us</a>

    3. be sure to add this two script via footer before body tag closing.

    4. <script>if(loggedIn) {zE(function() {;});}</script>

    5. <!-- Start of Zendesk Widget script -->
    <script id="ze-snippet" src=" KEY"> </script>
    <!-- End of Zendesk Widget script -->

    6. Hope this helps

  • Nicole Saunders
    Zendesk Community Manager

    Thanks for sharing a solution, John!

  • Glenn Michael Manuel

    Hi Everyone,

    I've tried the solution on top. It works fine but I have problem regarding on the flow.

    Is this possible?
    If I clicked the image it will hide and the form chat will come up.
    Otherwise If I minimized the form chat, the image will come up.


  • Jessie Schutz
    Zendesk Customer Care

    Hi Glenn!

    I'm not sure I totally understand what you're asking here. When you say "image", do you mean the "click to chat" button? Or are you envisioning something else?

  • Miguel Acero

    Saludos, yo tenia el mismo problema y utilice la siguiente solución:

    function Chat(){
    var script = document.createElement("script"); //Make a script DOM node ="ze-snippet" 
    script.src = "";



    <input id="clickMe" type="button" value="clickme" onclick="Chat();" />

  • I found this excellent tutorial. Hope it helps someone :)

    Quickstart – Creating a launcher for the Web Widget (Classic)

  • Hunza Khan

    i embed the code but my chat popup is not open error(zopim live chat not define...

    please help

  • Cheeny Aban
    Zendesk Customer Care
    Hi Hunza! 

    I created a ticket on your behalf. Don't worry! one of our Support will reach out to you via email.

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk