Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Adds tawk

Paul Copplestone9cf3b4e2d68f
diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js
index 917d5111d13..d8b7bb15f82 100755
--- a/web/docusaurus.config.js
+++ b/web/docusaurus.config.js
@@ -90,15 +90,6 @@ module.exports = {
// }
],
},
- // {
- // title: "Social",
- // items: [
- // {
- // label: "Blog",
- // to: "blog"
- // }
- // ]
- // }
],
// logo: {
// alt: "Flock",
@@ -121,26 +112,38 @@ module.exports = {
},
],
],
- // customFields: {
- // headerJs: `
- // // FULLSTORY - Please remove after initial user testing.
- // window['_fs_debug'] = false;
- // window['_fs_host'] = 'fullstory.com';
- // window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
- // window['_fs_org'] = 'R5A9Z';
- // window['_fs_namespace'] = 'FS';
- // (function(m,n,e,t,l,o,g,y){
- // if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
- // g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
- // o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script;
- // y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
- // g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
- // g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
- // g.log = function(a,b) { g("log", [a,b]) };
- // g.consent=function(a){g("consent",!arguments.length||a)};
- // g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
- // g.clearUserCookie=function(){};
- // })(window,document,window['_fs_namespace'],'script','user');
- // `,
- // },
+ customFields: {
+ headerJs: `
+ <!--Start of Tawk.to Script-->
+ var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
+ (function(){
+ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
+ s1.async=true;
+ s1.src='https://embed.tawk.to/5e0f4c517e39ea1242a2e675/default';
+ s1.charset='UTF-8';
+ s1.setAttribute('crossorigin','*');
+ s0.parentNode.insertBefore(s1,s0);
+ })();
+ <!--End of Tawk.to Script-->
+
+ // FULLSTORY - Please remove after initial user testing.
+ // window['_fs_debug'] ~= false;
+ // window['_fs_host'] = 'fullstory.com';
+ // window['_fs_script'] = 'edge.fullstory.com/s/fs.js';
+ // window['_fs_org'] = 'R5A9Z';
+ // window['_fs_namespace'] = 'FS';
+ // (function(m,n,e,t,l,o,g,y){
+ // if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;}
+ // g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[];
+ // o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script;
+ // y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y);
+ // g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)};
+ // g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)};
+ // g.log = function(a,b) { g("log", [a,b]) };
+ // g.consent=function(a){g("consent",!arguments.length||a)};
+ // g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)};
+ // g.clearUserCookie=function(){};
+ // })(window,document,window['_fs_namespace'],'script','user');
+ `,
+ },
}