# Sentry Replay — PII Masking Conventions (Web)
This document describes how the boilerplate masks personally identifiable information (PII) in Sentry Session Replay videos so that DSGVO / GDPR obligations are met by default.
The defaults are configured in `apps/web/app/sentry.client.ts`:
```ts
Sentry.replayIntegration({
maskAllInputs: true,
maskAllText: false,
blockAllMedia: false,
});
```
**Why not `maskAllText: true`?** Masking every text node makes the replay video useless for reproduction — buttons, headings, navigation labels all disappear. We instead opt-in to masking on the small set of nodes that actually contain PII.
**Why not `blockAllMedia: true`?** Blocking all `
` / `