diff --git a/astro.config.mjs b/astro.config.mjs index 9fa86709..f40ff033 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -62,6 +62,14 @@ 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',