From b02dd9bf84caed83bf261ab8bc768bcdb827d872 Mon Sep 17 00:00:00 2001 From: Abhishek Doshi Date: Mon, 28 Sep 2026 14:04:09 +0530 Subject: [PATCH] chore: remove Microsoft Clarity tracking script Plausible already loads on every docs page and records referrers, so Clarity mainly adds session recording and heatmaps through another third-party script. --- astro.config.mjs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index d38a9050..ede5d21e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -124,14 +124,6 @@ export default defineConfig({ crossorigin: '', }, }, - { - tag: 'script', - content: `(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; - y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); -})(window, document, "clarity", "script", "yj9jgcvl5y");`, - }, ], components: { Head: './src/components/starlight/Head.astro',