Help!!!! Tidio chat code

Hey everyone,

So I am referring to the Tidio chat service in which I need to add a script to my wix account which I’m fine with.

So they provide the following code, and they also provide me with a public key, they say I need to add my public key to the code so the script knows which chat to load up in the script (links are broken to due restrictions)

Can anyone see where I would put the public key?

The code script is:

<script async src="//code.tidio. co/fouwfr0cnygz4sj8kttyv0cz1rpaayva.js"></script><script>(function() {// modify whitelisted urls herevar whitelistedUrls = ['http://tidio. 
 com',];// do not modify script after this line   var shouldShowWidget = (function isCurrentUrlWhitelisted() {var currentUrl = window.location.href;var isWhitelisted = false;

      whitelistedUrls.forEach(url => {if (currentUrl.indexOf(url) > -1) {

          isWhitelisted = true;}})return isWhitelisted;})();function onTidioChatApiReady() {if (shouldShowWidget) {

        window.tidioChatApi.show();}else {

      window.tidioChatApi.hide();}}if (window.tidioChatApi) {

      window.tidioChatApi.on('ready', onTidioChatApiReady)}else {

      document.addEventListener('tidioChat-ready', onTidioChatApiReady);}})();</script>

You can’t embed HTML in a Velo page. You might want to consider using an HtmlComponent . For more information, see the article Working with the HTML Component in Velo .

Regarding the supplied script and the public key… You will need to consult with the script supplier where to insert the public key. Wix is unable to provide support for third-party scripts.