Getting found · Independent · 24 Oct 2026

microsoft/clarity

A behavioral analytics library that uses dom mutations and user interactions to generate aggregated insights.

← Getting found

In simple English

This tool records what people do on your website. It shows you where they click and how they scroll. You can watch video recordings of real visits. It costs no money, because the code is open source. You will need your own server space to store the recordings and process the data.

What it is

This repository contains the source code for Microsoft Clarity. It captures user interactions in the browser and turns them into visual session replays.

What it is good for

Solo builders who want to watch user sessions and check click maps without paying for a commercial analytics service.

Stars2.8k
LicenceMIT
LatestNo tagged releasechecked 24 Oct 2026
Last code change2026-10-23
Written inTypeScript
Setup effort
4 / 5
Payoff
4 / 5
Good
  • Open source code that you can run on your own infrastructure.
  • Masks sensitive user data by default to protect privacy.
  • Built with performance in mind to keep your website fast.
Watch for
  • Requires you to build your own backend to store and decode the telemetry data.
  • Setup requires comfort with JavaScript and backend development.
  • Takes up disk space quickly if your website gets many visitors.
Replaces

Paid user session recording services

Works well with

PostgreSQL

Also reviewed on Repo Radar
  • GoogleChrome/lighthouse-ci7.1k stars

    Runs the standard page audit on every code change and fails the change if the page got slower.

  • harlan-zw/nuxt-seo1.5k stars

    Seven search-engine and answer-engine modules for Nuxt sites, installed as one package.

  • Swetrix/swetrix1.2k stars

    Website analytics with no cookies, plus performance monitoring and error tracking, which you can host yourself.

Install
git clone https://github.com/microsoft/clarity.git
cd clarity
yarn install

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Marketing & Growth › Conversion & Growth Analytics › Heatmaps & Replay.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.