我们知道zendesk Messaging Widget本身没有主动聊天功能,经过深入研究,我制作了这个脚本来帮助那些想要这个小部件在网站加载后一段时间弹出的人。
希望它能帮助你!
<script type="text/javascript">
window.setTimeout(function() {
zE(function(){
zE('messenger', 'open');
});
//You can add more APIs on this line
}, 10000); //time’s in milliseconds - 10 seconds = 100000
</script>
<script type="text/javascript">
window.setTimeout(function() {
zE(function(){
zE('messenger', 'open');
});
//You can add more APIs on this line
}, 10000); //time’s in milliseconds - 10 seconds = 100000
</script>
自4月起支持主动消息传递:https://support.zendesk.com/hc/en-us/articles/5540317327770-Announcing-Proactive-Messages-in-Messaging-