版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

How do you do it?
When you retrieve the script code form the various vendors, look out for the links, codes or keys inside the script code. Replace the respective parameters in the revised code we have provided. Please contact us if it still does not work.


Tawk

Replace HERE with link from tawk, it should look something like what is showcase in the example below.
Example:
https://embed.tawk.to/62fe0deb54f06e12d88f56cf/1gao6co65';

var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true; s1.src='HERE';
s1.charset='UTF-8'; s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();


Udesk

Replace HEREand HERE with code and link from Udesk, it should look something like what is showcase in the example below. Example: Random code should look something like 1gndfj6a
https://1344913.s4.udesk.cn/im_client/?web_plugin_id=43169

(function(a,h,c,b,f,g){a["UdeskApiObject"]=f;a[f]=a[f]||function()
{(a[f].d=a[f].d||[]).push(arguments)}
;g=h.createElement(c);g.async=1;g.charset="utf-8";g.src=b;c=h.getElementsByTagName(c)[0];c.parentNode.insertBefore(g,c)})(window,document,"script","https://assets-cli.s4.udesk.cn/im_client/js/udeskApi.js","ud"); ud({ "code": "HERE", "link": "HERE" });


Zendesk

Replace HERE with key from Zendesk widget code, it should look something like what is showcased in the example below. Example:
a9ad0583-10d6-4f66-8694-cac8afn2a39e

function loadScript(src, callback) { var script = document.createElement('script'), head = document.getElementsByTagName('head')[0]; script.type = 'text/javascript'; script.charset = 'UTF-8'; script.src = src; script.async = 'async'; script.id = 'ze-snippet';if (script.addEventListener){ script.addEventListener('load', function (){ callback(); }, false); } else if (script.attachEvent) { script.attachEvent('onreadystatechange', function (){ var target = window.event.srcElement; if (target.readyState == 'loaded'){ callback(); }}); } head.appendChild(script);}loadScript('https://static.zdassets.com/ekr/snippet.js?key=HERE',function(){});


Zoho Live Chat

Replace HERE with widget code from Zoho, it should look something like what is showcase in the example below. Example: ccdd92e9619653f08eDe0fe2e0de27f91c0irbaebf965f186e057739585045

var $zoho={}; $zoho.salesiq = {widgetcode: "HERE", values:{},ready:function(){}}; var d=document;s=d.createElement("script");s.type="text/javascript";s.id="zsiqscript";s.defer=true;s.src="https://salesiq.zoho.com/widget";t=d.getElementsByTagName("script")[0];t.parentNode.insertBefore(s,t);