跳至內容
選單
此問題已被標幟
1005 瀏覽次數

Hi folks,

Im trying to embed this live chat code snippet provided to me:

<link href="https://<DOMAIN>/im_livechat/external_lib.css" rel="stylesheet" />
<script type="text/javascript" src="https://<DOMAIN>/im_livechat/external_lib.js"></script>
<script type="text/javascript" src="https://<DOMAIN>/im_livechat/loader/1"></script>


But i am getting the following browser console error when i insert it:

Uncaught (in promise) Error: Cannot patch model "PublicLivechatGlobal": there is no model registered under this name.

    at applyPatches (external_lib.js:4906:141)


Any idea what could be wrong?

I should note that the code is being injected via javascript (like document.head.appendChild(script)​) since i need to embed it conditionally.

頭像
捨棄
作者

Hi all. Any ideas about this issue?

相關帖文 回覆 瀏覽次數 活動
0
4月 25
610
0
5月 24
20
0
2月 24
1033
2
2月 24
2068
2
3月 23
2839