Merge pull request #129 from chamikaJ/chore/add-analytics

fix(index.html): update Microsoft Clarity integration for tracking
This commit is contained in:
Chamika J
2025-05-15 19:16:38 +05:30
committed by GitHub

View File

@@ -18,12 +18,12 @@
<script src="/unregister-sw.js"></script>
<!-- Microsoft Clarity -->
<script type="text/javascript">
if (window.location.hostname === 'app.worklenz.com' && window.VITE_CLARITY_ID) {
if (window.location.hostname === 'app.worklenz.com') {
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/dx77073klh";
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", window.VITE_CLARITY_ID);
})(window, document, "clarity", "script", "dx77073klh");
}
</script>
</head>