Open monarchwadia opened 4 years ago
@monarchwadia Hiya! I'm interested in working on this issue.
Didn't get to it yet this weekend, will git it a try on Monday and should have an update by monday evening.
@monarchwadia any way to get the intercom API key sent to me(maybe through discord?) -- might have something ready by tomorrow
Hi @sambernaldamasco thanks for this. Here's the (public-friendly) snippet from Intercom:
<script>
window.intercomSettings = {
app_id: "cnqttk95"
};
</script>
<script>
// We pre-filled your app ID in the widget URL: 'https://widget.intercom.io/widget/cnqttk95'
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',w.intercomSettings);}else{var d=document;var i=function(){i.c(arguments);};i.q=[];i.c=function(args){i.q.push(args);};w.Intercom=i;var l=function(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/cnqttk95';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);};if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})();
</script>
We have an Intercom account that needs to be re-installed on this page. Official docs have some info on how to install Intercom on a single-page app.
Please note, any configuration (such as APP_ID) should occur via configuration rather than hardcoding. (Currently environment variables)