Pesquisas recentes


Sem pesquisas recentes

Pat Behrens's Avatar

Pat Behrens

Entrou em 02 de mai. de 2023

·

Última atividade em 02 de mai. de 2023

Seguindo

0

Seguidores

0

Atividade total

3

Votos

1

Assinatura

1

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Pat Behrens

Pat Behrens comentou,

ComentárioLive chat departments, triggers, operating hours, and routing

Joey, did you have any success finding out why that was happening? My company is using the chat widget and we set the department via the API. We will intermittently have issues where the department is not set and the chat will be sent to our default which is a problem.

 

Our code looks like this:

(function() {
window.opener = null;
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='https://v2.zopim.com/?3XwTShAYzG4dmNuhM8rHkll6wjX9mXIN';z.t=+new Date;$.type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
$zopim(function(){
$zopim.livechat.addTags('webcode: 0-015C');
$zopim.livechat.setOnChatStart(function(){$.post('https://{{devURL}}/zchat/start',{e: $zopim.livechat.getEmail()},null,'json');});
$zopim.livechat.setOnChatEnd(function(){$.post('https://{{devURL}}/zchat',{v: $zopim.livechat.getName()},null,'json');});
$zopim.livechat.window.setOffsetVertical(2);
$zopim.livechat.window.setPosition('tl');
$zopim.livechat.window.setSize('medium');
$zopim.livechat.window.show();
$zopim.livechat.departments.filter('');
$zopim.livechat.departments.setVisitorDepartment('SpecificDepartment');
$zopim.livechat.theme.setColor('#0076bf');
$zopim.livechat.window.setTitle('SpecificDepartment');
$zopim.livechat.concierge.setAvatar('https://{{devURL}}/images/rs/zopim_chat/chat_logo.png');
$zopim.livechat.theme.reload();
});
})();

Exibir comentário · Publicado 02 de mai. de 2023 · Pat Behrens

0

Seguidores

0

Votos

0

Comentários