Skip to content
r.

clarity

microsoft/clarity · Public GitHub repository

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

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

clarity live demo screenshot
Captured from the live demo · 2026-11-12

About this project

Author-written excerpt from the project README.

Clarity is an open-source behavioral analytics library written in typescript, with two key goals: privacy & performance.

It helps you understand how users view and use your website across all modern devices and browsers. Understanding how users navigate, interact and browse your website can provide new insights about your users. Empathizing with your users and seeing where features fail or succeed can help improve your product, grow revenue and improve user retention.

It's the same code that powers Microsoft's hosted behavioral analytics solution: If you would like to see a demo of how it works, checkout live demo.

Requirements and intended audience

Clarity is an open-source behavioral analytics library written in typescript, with two key goals: privacy & performance.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-11-05. Source: https://github.com/microsoft/clarity/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2026-11-05. A published release has not been recorded. These dates do not guarantee ongoing maintenance.

Technologies
TypeScript
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-12. This does not test every feature.

Browse related categories