Open chat through link

Respondida

7 Comentarios

  • Yunen Yeo

    Hi Ian,

    You can use this link, replace with your account key to open a popout chat window:
    http://v2.zopim.com/widget/livechat.html?key=<ACCOUNT_KEY>

     

    Note that each link will open a new chat session though.

    0
  • Ramin Shokrizadeh
    Zendesk Product Manager

    Hi there Ian,

    If you want a link or button to open the chat window or open the chat window in a popout, you can make the button/link have the following code using our Javascript API.

    To open in a new browser window:

    javascript:void($zopim.livechat.window.openPopout())

    To open in the same tab:

    javascript:void($zopim.livechat.window.show())

    I personally would avoid directly linking to the v2.zopim.com/widget/ link because your agents lose where the visitor is located on your site and the visitor will need to reenter their information if they were to chat again with you.

    Let me know if you have any questions about using the APIs. You can get all the docs here

    Thanks,

    Ramin

    0
  • john gaspay

    I've tried different solution above but none work so I've try and try until I come up with this solution:

    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() {zE.show();});}</script>

    5. <!-- Start of Zendesk Widget script -->
    <script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=YOUR KEY"> </script>
    <!-- End of Zendesk Widget script -->

    6. Hope this helps

    1
  • Nicole S.
    Zendesk Community Team

    Thanks for sharing your solution, John.

    0
  • dan scott

    Thanks John, if only I found this post first. Good stuff!

    0
  • Mani Berenji

    Is it possible to pre-select a department as well?

    0
  • Ramin Shokrizadeh
    Zendesk Product Manager

    Mani Berenji Currently, it is not possible to pre-select departments in the popout experience. 

    1

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk