getAlby / website

DEPRECATED - no longer in use
https://getalby.com
2 stars 10 forks source link

Add support widget #170

Closed reneaaron closed 1 year ago

reneaaron commented 1 year ago

Add the chatwoot support widget to the website:

Example of how to add scripts to remix

https://github.com/remix-run/examples/tree/main/google-analytics

Embed code

Configuration of the widget will be done on chatwoot.

    <script>
      (function(d,t) {
        var BASE_URL="https://app.chatwoot.com";
        var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
        g.src=BASE_URL+"/packs/js/sdk.js";
        g.defer = true;
        g.async = true;
        s.parentNode.insertBefore(g,s);
        g.onload=function(){
          window.chatwootSDK.run({
            websiteToken: 'pV5xHCk6pjSNRtpdGai57NKx',
            baseUrl: BASE_URL
          })
        }
      })(document,"script");
    </script>
Abhijay007 commented 1 year ago

@reneaaron can I work on this one ?

reneaaron commented 1 year ago

Hi @Abhijay007! 👋 Sure, I just assigned you. Let me know if you need any help or have questions!

Abhijay007 commented 1 year ago

Hi @Abhijay007! 👋 Sure, I just assigned you. Let me know if you need any help or have questions!

thanks @reneaaron , I will surely ping you up if I need any assistance while implementing it :)

jankoegel commented 1 year ago

We're soon shutting down this repo, decided against keeping Remix in our tech stack.