chore: remove Microsoft Clarity tracking script - #705
Merged
Merged
Conversation
Plausible already loads on every docs page and records referrers, so Clarity mainly adds session recording and heatmaps through another third-party script.
AbhishekDoshi26
commented
Sep 28, 2026
AbhishekDoshi26
left a comment
Member
Author
There was a problem hiding this comment.
Reviewed with fresh eyes, no findings.
- One commit (b02dd9b) directly on top of current
main: removes only the Clarityheadentry fromastro.config.mjs. The remainingheadarray is valid and Prettier-clean. - No tracked file on the branch mentions
clarityor the project IDyj9jgcvl5y, and Clarity was never an npm dependency. - A fresh local build has no Clarity references in
dist/. Every built page except the redirect stubs still loads Plausible, so no page ends up without analytics. - The live site loads Clarity only through this inline snippet (no Cloudflare Zaraz injection), so it stops loading once this deploys.
- CI: build, spell-check, style-check and vale all pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the Microsoft Clarity snippet that #672 added to
astro.config.mjs. This replaces #704, which closed when its branch was renamed.#672 added Clarity to get insight into AI citations. Plausible already loads on every docs page and records referrers, which is where visits sent by AI assistants show up. What Clarity adds on top is session recording and heatmaps, and that means one more third-party script on every page. If someone is actively using the Clarity dashboard, say so here and we can close this.
Plausible and the Unify tag in
Head.astroare unchanged.Testing
npm run buildpasses andnpx prettier --check astro.config.mjsis cleandist/referencesclarity.ms