set the contactOptions, but it does't work. always enter the chat when i clicked launcher | Community
Skip to main content

set the contactOptions, but it does't work. always enter the chat when i clicked launcher

  • September 2, 2019
  • 4 replies
  • 0 views

webWidget: {
position: {
horizontal: 'right',
vertical: 'bottom'
},
offset: {
vertical: 100
},
color: {
button: '#EC7000',
header: '#EC7000',
launcher: '#EC7000', // This will also update the badge
launcherText: '#fff',
},
contactOptions: {
enabled: true,
contactFormLabel: {'*': 'Get in touch'},
chatLabelOnline: {'*': 'Live Chat'},
chatLabelOffline: {'*': 'Chat is unavailable'}
},
helpCenter: {
suppress: false,
originalArticleButton: false,
title: {
'en-US': 'Search for help',
'*': 'Have your say'
}
},
contactForm: {
suppress: false,
title: {
'en-US': 'SMessage us',
'*': 'Contact us'
}
},
chat: {
suppress: true,
concierge: {
name,
title: {
'en-US': 'You can ask me any question',
'zh-cn': '你可以问我任何问题',
'ko': '궁금하신 사항은 언제든지 문의해주세요',
},
},
departments: {
// enabled: ['English', '한국', '中文'],
select: department,
},
prechatForm: {
departmentLabel: {
'en-US': 'Choose Language',
'zh-cn': '请选择语言',
'ko': '언어선택',
},
},
title: {
'en-US': 'Bithumb Global Support',
'zh-cn': 'Bithumb Global 支持',
'ko': 'Bithumb Global Support',
}
}
}

4 replies

Kyle40
  • September 6, 2019

Hey there 陈亦凡

I'm very sorry to hear about the frustration. I'll need to pull this into a ticket so we can take a closer look into this for you! 

Please keep an eye out for an email response regarding this,


  • February 3, 2021

Also having a similar issue. Seems intermittent but mostly widget defaults to chat and doesn't show contact options.

<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=xxxxx" data-ze-csp="true" async defer></script>
<script>
window.zEmbed||(function(){
var queue = [];

window.zEmbed = function() {
queue.push(arguments);
}
window.zE = window.zE || window.zEmbed;
document.zendeskHost = 'xxxx';
document.zEQueue = queue;
window.zESettings = {
webWidget: {
contactOptions: {
enabled: true
},
zIndex: 65
}
};
}());
</script>

  • February 3, 2021

Setting the webWidget options before the script is called is the solution.

<script type="text/JavaScript">
window.zESettings = {
webWidget: {
contactOptions: {
enabled: true
},
zIndex: 65
}
};
</script>
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=xxxxx" data-ze-csp="true" async defer></script>
<script>
window.zEmbed||(function(){
var queue = [];

...

 


Dave12
  • February 4, 2021

Thanks for sharing your solution, @rjones!