# Session recording

> Session recording replays what real visitors do on a site or app. See what it captures, how masking keeps inputs private, and the common setup mistakes.

Canonical: https://scaplet.com/glossary/session-recording

Glossary Glossary · Session recording

Session recording replays what real visitors do on a site or app. See what it captures, how masking keeps inputs private, and the common setup mistakes.

2 min

read

3

sources

Oct 22, 2026

updated

Scaplet Editorial Team

author

In one line

Session recording captures what real users do on a site or app and plays it back so you can watch their sessions. Tools mask inputs by default and let you mask more, but you must check what is captured. PostHog says masked data is never sent to it, and Microsoft Clarity says it never captures masked content.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fsession-recording%20(%22Session%20recording%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fsession-recording%20(%22Session%20recording%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fsession-recording%20(%22Session%20recording%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fsession-recording%20(%22Session%20recording%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 2 minutes.

1. [What it is 01](#what-it-is)
2. [Masking: what to check first 02](#masking-what-to-check-first)
3. [Set it up safely 03](#set-it-up-safely)
4. [Common mistakes 04](#common-mistakes)

_01_Explained

## What it is

PostHog describes session replay as recording what real users do in your product and playing it back "like a DVR", with a synced DevTools panel of console logs, network requests and errors. What appears in a replay depends on how you configure capture: which sessions you record, what the browser panels collect, and what you mask before it leaves the device.

Use it to see why a funnel step loses people, or what happened before an error. It shows individual behavior. It doesn't replace aggregate analytics.

_02_At a glance

## Masking: what to check first

Tool

### Microsoft Clarity

Default behavior

Masks sensitive content by default; input boxes are masked in all modes and can't be customized, and drop-downs are masked in all modes

Controls

Strict, Balanced (default) or Relaxed mode; mask by CSS selector; `data-clarity-mask` attribute

Tool

### PostHog

Default behavior

Masks input elements by default, since inputs often hold emails or passwords. General text is not masked by default

Controls

`maskAllInputs`, `maskInputOptions`, `maskInputFn`, `maskTextSelector` for text; privacy controls run in the browser or mobile app, so masked data is never sent

Clarity's docs add three cautions: masking changes apply to new recordings and can take up to one hour; they can't be applied retroactively; and Clarity doesn't mask content within style sheets or style tags, so don't host sensitive content in CSS.

_03_How it works

## Set it up safely

1. 1

### Decide what to record

PostHog's recording rules let you sample, or gate by URL or feature flag, so you only keep sessions worth watching.
2. 2

### Mask before launch

Pick the strictest masking mode that still lets you diagnose problems, and mask account and checkout pages by selector.
3. 3

### Test a recording

Open your own session and confirm no personal data is visible.
4. 4

### Review your privacy notice

Your notice and consent flow should describe recording. Ask legal counsel what applies in your markets.

_04_Worth knowing

## Common mistakes

### Assuming masking is retroactive

Clarity says changes affect new recordings only.

### Relaxing masking to see more

Relaxed mode masks no content except inputs and drop-downs.

### Recording every session

Sampling keeps the volume reviewable.

### Treating recordings as proof of a trend

One session is an anecdote.

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What is session recording?

Capturing real users' interactions on a site or app so you can replay their sessions, often with console and network details.

_02_ Does session recording capture passwords?

Both PostHog and Microsoft Clarity mask input elements by default. Check your configuration and test a recording before launch.

_03_ Is masked data sent to the recording tool?

PostHog says its privacy controls run in the browser, so masked data is never sent over the network. Clarity says it never captures anything that is masked.

_04_ Can I change masking for past recordings?

Not in Clarity. Masking changes apply to new recordings and can't be applied retroactively.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- microsoft.com
- posthog.com

1. 01 [Masking content (Microsoft Clarity)](https://learn.microsoft.com/en-us/clarity/setup-and-installation/clarity-masking) learn.microsoft.com · checked 2026-10-25
2. 02 [Session Replay (PostHog docs)](https://posthog.com/docs/session-replay) posthog.com · checked 2026-10-25
3. 03 [Session replay privacy controls (PostHog docs)](https://posthog.com/docs/session-replay/privacy) posthog.com · checked 2026-10-25

## Keep learning

[All glossary](/glossary)

[Learn Google Analytics 4 Measurement](/glossary/google-analytics-4) [Related Landing page Content](/glossary/landing-page) [Read next UTM parameters Measurement](/glossary/utm-parameters) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Service-area business](/glossary/service-area-business) [Service worker](/glossary/service-worker) [Shopping ads](/glossary/shopping-ads)

More in Measurement
[Net Promoter Score (NPS)](/glossary/nps) [Net revenue retention (NRR)](/glossary/net-revenue-retention) [North star metric](/glossary/north-star-metric) [Performance report](/glossary/performance-report) [Pogo sticking](/glossary/pogo-sticking) [Rank tracking](/glossary/rank-tracking) [Referral traffic](/glossary/referral-traffic) [Reporting identity](/glossary/reporting-identity) [Retention rate](/glossary/retention-rate) [SEO KPIs](/glossary/seo-kpis) [SEO ROI](/glossary/seo-roi) [Server-side tagging](/glossary/server-side-tagging) [Session recording](/glossary/session-recording) [Share of voice](/glossary/share-of-voice) [UTM parameters](/glossary/utm-parameters) [A/B testing](/glossary/a-b-testing) [Active users](/glossary/active-users) [ARR (annual recurring revenue)](/glossary/arr) [Attribution](/glossary/attribution) [Average position](/glossary/average-position) [BigQuery export](/glossary/bigquery-export) [Bot traffic](/glossary/bot-traffic) [Bounce rate](/glossary/bounce-rate) [Bulk data export](/glossary/bulk-data-export)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
