Chat widget
abernier opened this issue · comments
Integrate a chat inside the app in order to bring (paid) support to our users.
@Hiswe je viens de créer un compte zendesk pour goodenough et nous ai mis tous 2 en admin sur nos adresses gmail.
Il faudrait ajouter le code embed suivant dans le layout avant le </head>
selon leur reco :
<!-- Start of goodenough Zendesk Widget script -->
<script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(e){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var e=this.createElement("script");n&&(this.domain=n),e.id="js-iframe-async",e.src="https://assets.zendesk.com/embeddable_framework/main.js",this.t=+new Date,this.zendeskHost="goodenough.zendesk.com",this.zEQueue=a,this.body.appendChild(e)},o.write('<body onload="document._l();">'),o.close()}();
/*]]>*/</script>
<!-- End of goodenough Zendesk Widget script -->
see : https://goodenough.zendesk.com/chat/agent#widget/getting_started
wontfix, in favor of #44 which is much simpler