Skip to content

Commit

Permalink
Merge pull request #125 from goinvo/chatlio
Browse files Browse the repository at this point in the history
add chatlio
  • Loading branch information
craigmcginley authored Oct 17, 2018
2 parents 314703b + 8e3102c commit 7460457
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ export default class HTML extends React.Component {
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/356419.js"></script>
<script type="text/javascript" dangerouslySetInnerHTML= {{ __html: `
window._chatlio = window._chatlio||[];
!function() {
var t=document.getElementById("chatlio-widget-embed");
if(t&&window.ChatlioReact&&_chatlio.init)return void _chatlio.init(t,ChatlioReact);
for(var e=function(t){return function(){_chatlio.push([t].concat(arguments)) }},i=["configure","identify","track","show","hide","isShown","isOnline", "page", "open", "showOrHide"],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.3");
n.setAttribute('data-widget-id','413f13c1-0a3b-447f-45a6-f99b340d8c78');
c.parentNode.insertBefore(n,c);
}();
`}}></script>
<link rel="preload" href="https://use.typekit.net/lcb6luw.css" as="style" crossOrigin="crossorigin"></link>
<link rel="stylesheet" href="https://use.typekit.net/lcb6luw.css"></link>
{this.props.headComponents}
Expand Down

0 comments on commit 7460457

Please sign in to comment.