Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(index.html): add Plausible Analytics script for cloud.kaneo.app domain

Andrej4edabafad738
diff --git a/apps/web/index.html b/apps/web/index.html
index 7f7561fb9..1c2b749e5 100644
--- a/apps/web/index.html
+++ b/apps/web/index.html
@@ -54,6 +54,14 @@
script.src = 'https://plausible.kaneo.app/js/script.js';
document.head.appendChild(script);
}
+
+ if (window.location.hostname === 'cloud.kaneo.app') {
+ const script = document.createElement('script');
+ script.defer = true;
+ script.setAttribute('data-domain', 'cloud.kaneo.app');
+ script.src = 'https://plausible.kaneo.app/js/script.js';
+ document.head.appendChild(script);
+ }
</script>
</head>