Navigate:
Clarity
~$CLARI0.0%

Clarity (Archived): Open-source design system for Angular

TypeScript library for session replay and behavioral analytics.

LIVE RANKINGS • 10:20 AM • STEADY
OVERALL
#453
27
DEVELOPER TOOLS
#97
30 DAY RANKING TREND
ovr#453
·Devel#97
STARS
6.4K
FORKS
740
7D STARS
-2
7D FORKS
-1
See Repo:
Share:

Learn more about Clarity

Clarity is a TypeScript library for capturing and analyzing user behavioral data through session replay and interaction tracking. It instruments web applications by hooking into the DOM to record user actions, page mutations, and navigation events, then serializes this data for transmission to analytics endpoints. The library implements configurable privacy controls through CSS selector-based masking rules that redact sensitive content before data collection occurs. Session data can be enriched with custom metadata and tagged events to enable segmentation and filtering during analysis. The tracking system offers granular control over which interaction types are captured, allowing developers to balance analytical depth with client-side performance overhead.

Clarity

1

Privacy-First Data Capture

Automatically masks sensitive content client-side before transmission to servers. Configurable rules let you control exactly what gets collected, ensuring compliance without manual data scrubbing.

2

Modular Package Architecture

Separates instrumentation, decoding, visualization, and dev tools into independent packages. Deploy only what you need and integrate each component separately into existing workflows.

3

DOM Mutation Tracking

Captures layout changes and DOM mutations instead of just events, enabling pixel-perfect session replay. Reconstructs exactly how pages rendered during user sessions without screenshots or video encoding.


import { clarity } from 'clarity-js';

// Start recording user session
clarity.start({
  projectId: 'your-project-id',
  upload: 'https://www.clarity.ms/collect',
  track: true,
  content: true
});

See how people are using Clarity

Loading tweets...


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers