Replace autopilot with Crisp

This commit is contained in:
Morris
2018-10-01 16:27:34 +02:00
parent e649d58eed
commit 183741f79d

View File

@@ -69,9 +69,7 @@ class SEO extends Component {
return (
<Helmet>
<script type="text/javascript">
{`(function(o){var b="https://api.autopilothq.com/anywhere/",t="ae459aeb4a0b4099a3d74dc196c8e96c37d381d71ceb4d7e91640aee42bf58b1",a=window.AutopilotAnywhere={_runQueue:[],run:function(){this._runQueue.push(arguments);}},c=encodeURIComponent,s="SCRIPT",d=document,l=d.getElementsByTagName(s)[0],p="t="+c(d.title||"")+"&u="+c(d.location.href||"")+"&r="+c(d.referrer||""),j="text/javascript",z,y;if(!window.Autopilot) window.Autopilot=a;if(o.app) p="devmode=true&"+p;z=function(src,asy){var e=d.createElement(s);e.src=src;e.type=j;e.async=asy;l.parentNode.insertBefore(e,l);};y=function(){z(b+t+'?'+p,true);};if(window.attachEvent){window.attachEvent("onload",y);}else{window.addEventListener("load",y,false);}})({});`}
</script>
<script type="text/javascript">{`window.$crisp=[];window.CRISP_WEBSITE_ID="346bb060-d289-437d-bafa-3a02d470f7b6";(function(){ d=document;s=d.createElement("script"); s.src="https://client.crisp.chat/l.js"; s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})(); `}</script>
<title>{title}</title>
<meta name="description" content={desc} />