Skip to content

Instantly share code, notes, and snippets.

@dvdplm
Last active April 27, 2016 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvdplm/f4458800a1475c33fe5b52e3855fb6b1 to your computer and use it in GitHub Desktop.
Save dvdplm/f4458800a1475c33fe5b52e3855fb6b1 to your computer and use it in GitHub Desktop.
window._chatlio = window._chatlio||[];
!function(){ var t=document.getElementById("chatlio-widget-embed");if(t&&window.React&&_chatlio.init)return void _chatlio.init(t,React);for(var e=function(t){return function(){_chatlio.push([t].concat(arguments)) }},i=["configure","identify","track","show","hide","isShown","isOnline"],a=0;a<i.length;a++)_chatlio[i[a]]||(_chatlio[i[a]]=e(i[a]));var n=document.createElement("script"),c=document.getElementsByTagName("script")[0];n.id="chatlio-widget-embed",n.src="https://w.chatlio.com/w.chatlio-widget.js",n.async=!0,n.setAttribute("data-embed-version","2.0");
n.setAttribute('data-widget-id','a2228030-ebdd-4806-7c9d-3cb0283beb26');
n.setAttribute('data-start-hidden', true);
c.parentNode.insertBefore(n,c);
}();
document.addEventListener("chatlio.ready", function() {
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment