最近搜索
没有最近搜索

Pat Behrens
已加入2023年5月02日
·
最后活动2023年5月02日
关注
0
关注者
0
活动总数
3
投票
1
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Pat Behrens
Pat Behrens 进行了评论,
评论Live 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();
});
})();
查看评论 · 已于 2023年5月02日 发布 · Pat Behrens
0
关注者
0
投票
0
评论