Short answer
Session recording, in Microsoft Clarity's docs, is a playback of what a person did on your pages: clicks, cursor movement, visible and hidden pages, text entry, and screen-size changes. Sensitive data is masked before it is sent. Input boxes and dropdowns stay masked in every mode. Recordings are kept 30 days, while favorites and one random recording can be kept up to 9 months. These pages do not print a market share.
Last verified against the sources listed below.
Key takeaways
- Clarity's player shows clicks, cursor movement, page visibility, text entry, and resizes.
- Recordings are kept 30 days. Favorites, and one random recording, can last up to 9 months.
- Input boxes and dropdowns are masked in Strict, Balanced, and Relaxed modes.
- Balanced is the default. It treats numbers and email addresses as sensitive.
- Masking changes apply to new recordings and can take up to one hour.
- Third-party iframes and HTML canvas are not captured. Playback can skip them.
What is session recording? In Microsoft Clarity’s documentation it is a replay of a visit: clicks, cursor movement, which pages were visible, where text was entered, and where the screen size changed.
The inline player is the screen that plays that visit back. Clarity’s privacy page says input fields and numbers are treated as likely personal data, masked on the client, and not sent to Clarity’s servers. Nothing opened here states a market share for the product.
What does the replay include?
The replay includes the interactions the inline player page lists, played on a timeline.
Watch recordings says you can see user clicks, cursor movements, pages hidden or visible, how and where people enter text, which contexts they select, and where they change the screen size. Insights called out on that page are excessive scrolling, rage clicks, dead clicks, and quick backs.
The details tab adds a timeline. Each page visit can show duration, load time, event count, LCP, INP, CLS, and a performance score. Event types include click, scroll, area, input, refresh, resize, selection, and smart events, plus page visible, page hidden, and JavaScript error. Session info includes a user id, a location, screen resolution, browser, operating system and version, click count, page views, entry and exit URLs, and the referrer.
Highlights break a long recording into moments. The page says events are prioritized toward insights, navigation, and key inputs, and that less significant clicks are filtered out. Highlight types it names are clicks on buttons, text areas, or images, JavaScript errors, form inputs, and smart events.
How long is a recording kept?
A normal recording is kept 30 days, and a favorite can be kept much longer.
The same player page says Clarity retains recordings for 30 days from the time of recording. Favorite recordings, and a randomly selected recording, are retained for up to 9 months. The clock on the recording uses the Clarity user’s time zone.
Playback controls are specific. Rewind is 10 seconds and fast forward is 30 seconds. Speeds are 0.25X, 0.5X, Normal, 1.5X, 2X, 4X, 8X, and 12X. Skip inactivity drops quiet stretches, and autoplay moves to the next recording after 5 seconds.
Adding a note also favorites the session.
Heatmaps can be opened from a recording: click, area, scroll, and attention. Those maps turn off play, pause, skip, autoplay, notes, summarize, and speed. They are also unavailable in a new tab or on a shared recording.
What stays masked?
Input boxes and dropdowns stay masked in every mode, and the rest depends on the mode you pick.
The masking page says Clarity masks sensitive content by default and never captures anything that is masked. Content in input boxes cannot be customized. Dropdowns are masked in all modes. The privacy page’s matching line is that this masking happens on the client.
| Mode | What the masking page says |
|---|---|
| Strict | The entire content is masked |
| Balanced, the default | Numbers and email addresses are masked as sensitive content |
| Relaxed | No general content is masked. Input boxes and dropdowns still are |
| Any mode | Input boxes and dropdowns cannot be turned off |
Masking characters are a digit shown as an empty box, a letter shown as a filled box, and a bullet for strict mode or explicit masking. Clarity does not mask content inside style sheets or style tags, so the page says not to put sensitive content in CSS.
Only a project’s administrators can change the mode or the element list. Members who are not admins cannot. A change hits new recordings, can take up to one hour, and cannot be applied back to old ones. The page’s worked example was visible about 30 minutes after the edit.
Website security covers other ways a page can leak data. Masking is the limit this product documents for replays. It is not a substitute for access control on the site itself.
How do you mask one element?
You name the element with a CSS selector, or you set an HTML attribute, and children follow.
On the Clarity site, Settings then Masking, then Add element, takes a selector such as .class_name, #id_value, or a type such as element. Mask and unmask can be switched per row. data-clarity-mask="True" masks that node and its children and overrides the site setting.
data-clarity-unmask="true" unmasks that node and its children. Clarity’s client API notes that setting either attribute to false does nothing, so you use the opposite attribute instead.
Clarity points readers at MDN for selector syntax. MDN’s CSS selectors module says the module provides more than 60 selectors and five combinators, and that selectors match elements by type, attributes, state, and position. A class, an id, and a type are the three forms Clarity’s own example uses.
The docs’ nesting example masks .bannerText and unmasks H1. The heading stays visible because the unmask is more specific in their setup. The banner’s other children stay masked and are not uploaded.
Where does this sit in analytics?
A replay is one record of a visit. It is not the same thing as a traffic total.
Web analytics is the wider measurement of a site. Clarity’s player adds LCP, INP, and CLS on a page visit, plus click and scroll maps, but the pages opened here do not say those maps replace an analytics property. They also do not say how many sites run the script.
Two limits are easy to miss. Third-party iframes and canvas elements are not captured, and they show as a gap in the player. If the site is served over http, the player may lay the page out badly, and the doc suggests moving to https. Missing CSS, fonts, or images can make a recording look broken even when the visit was fine.
An image compressor changes the image files on the page you are about to record. It does not change masking, retention, or what the player is allowed to store.
Frequently asked questions
Does a session recording store passwords?
Clarity's masking page says content in input boxes is masked in every mode and cannot be customized. Dropdowns are masked in every mode too. A password field is an input box, so that rule covers it. On a public GitHub issue, Clarity support said input boxes cannot be unmasked by design and listed password among the contents, along with card numbers, email addresses, and similar values. Relaxed mode still masks input boxes. data-clarity-unmask does not override that input-box rule.
What are the three masking modes?
The masking page lists Strict, Balanced, and Relaxed. Strict masks the entire content. Balanced, the default, masks sensitive content, and Clarity classifies numbers and email addresses as sensitive. Relaxed masks no general content, but input boxes and dropdowns stay masked. Only a project administrator can change the mode or the element list. Masked characters differ: a digit becomes an empty box, a letter becomes a filled box, and strict or explicit masking uses a bullet.
How long can you watch a recording?
The inline player page says Clarity keeps recordings for 30 days from the time of recording. Favorite recordings, and a randomly selected recording, are kept for up to 9 months. The timestamp uses the time zone of the Clarity user, not the visitor. Playback speed presets are 0.25X, 0.5X, Normal, 1.5X, 2X, 4X, 8X, and 12X. Rewind jumps 10 seconds. Fast forward jumps 30 seconds. Autoplay starts the next recording after 5 seconds.
Can you unmask one heading later?
You can mark elements for new recordings. Add a CSS selector under Settings, then Masking, or set data-clarity-mask or data-clarity-unmask on an HTML element. Children follow that choice unless a closer rule overrides it. The page says a change affects new recordings, can take up to one hour, and cannot be applied backward. In the docs' own example, a session viewed about 30 minutes after the change showed the unmasked heading and hid the masked banner.
What will the player refuse to show?
The inline player says third-party iframe content is blocked while masked content is shielded. Clarity cannot capture third-party iframes or HTML canvas elements. Some recordings look broken when Clarity cannot find the CSS, fonts, or images. An http site can render badly in the player, and the page suggests https. Insights named on the timeline include rage clicks, dead clicks, excessive scrolling, and quick backs. The docs do not say what share of the web uses this product.
Sources
- Masking content · Microsoft Learn, 2026
- Inline Player · Microsoft Learn, 2026
- Guide to Session Recordings · Microsoft Learn, 2026
- Data privacy · Microsoft Clarity, 2026
- CSS selectors · MDN, 2026
- Clarity issue 309, input masking · Microsoft Clarity, 2026