各位大佬:一套客服系統(tǒng)接入多個網站 怎么區(qū)分是哪個網站進來的客戶呢 求指導一下接入代碼 怎么加入客戶來源識別功能
<script>
(function() {
_s = document.createElement('script');
_s.src="https://chat.we.cn/customerServer.js"
_s.onload = function(){
var option = {
"authInit":true,
openUrl: 'https://chat.wei.cn',
token: 'b4e1a1ad732182723520e6c2a5a4',
kefuid:'10',//默認為空自動對接客服,可填寫指定客服ID
isShowTip: true, // 初始化成功后,界面右下角會自動創(chuàng)建 “聯(lián)系客服按鈕”, 如無需默認展示,則填寫false即可,默認為true
mobileIcon: '', // 手機端懸浮客服圖片
pcIcon: '', // pc端懸浮客服圖片
windowStyle:'center',//默認空 右下角小彈窗, center 普通中間彈窗樣式
};
var canCustomerServer = new initCustomerServer(option);
canCustomerServer.init();
}
document.head.appendChild(_s)
})();
</script>