Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1138 Visualizzazioni

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.

Avatar
Abbandona
Autore

Hi all. Any ideas about this issue?

Post correlati Risposte Visualizzazioni Attività
0
apr 25
788
0
mag 24
20
0
feb 24
1143
2
feb 24
2284
2
mar 23
2966