Integrations

  1. Home
  2. Docs
  3. Integrations
  4. Zendesk Chat (Zopim) Integration

Zendesk Chat (Zopim) Integration

Zendesk Chat (previously Zopim) is a chat platform that is part of Zendesk, a customer service software. With Zendesk Chat, users can communicate with your business instantly. You can integrate Zendesk Chat with WhatConverts easily.

    Note: If you haven’t added your WhatConverts tracking code to your website, add your tracking script. If you are using the WhatConverts WordPress Plugin, you will want to deactivate the plugin and place your WhatConverts Tracking Code above your Zendesk Chat Integration Code using the HTML method.

Using a Zendesk Support Web Widget

1Add the following after the Zendesk Support Web Widget Code:

zE('webWidget:on', 'chat:end', function() {
   wc_chat_ypbib("Chat","New Chat Session");
});

This will trigger a new Chat Lead in WhatConverts when someone ends a chat.

    Note: It can take a few minutes after a chat ends to show up in your WhatConverts dashboard.

Using Zopim Chat Widget

1This code below should be added directly after your Zopim code:

$zopim(function() {
   $zopim.livechat.setOnChatEnd(function() {
      wc_chat_ypbib("Chat","New Chat Session");
   });
});

The WhatConverts custom event code (in bold) combined with an example Zopim code:

<script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute("charset","utf-8");
$.src="//v2.zopim.com/?2pnWzNiHXC39uaDVQwD6xDgXGV295YJ0";z.t=+new Date;$.
type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");
$zopim(function() {
   $zopim.livechat.setOnChatEnd(function() {
      wc_chat_ypbib("Chat","New Chat Session");
   });
});
</script>