You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option | What to do | Cookie banner?
-- | -- | --
A – Safest | Add a consent banner; enable Session Replay only after user accepts (e.g. “Analytics / Error replay”). | Yes (consent for replay).
B – No banner | Disable random session replay (replaysSessionSampleRate: 0), keep replay on error only (replaysOnErrorSampleRate: 1). Document “replay only when an error occurs” in the privacy policy. | No (often argued as legitimate interest for stability).
Category: bug Summary: Sentry Session Replay samples 10% of all sessions without consent. Switch to error-only replay (Option B from this issue).
Current behavior: instrumentation-client.ts sets replaysSessionSampleRate: 0.1, so random sessions are recorded with no consent. The existing consent banner only gates PostHog.
Desired behavior:
Set replaysSessionSampleRate: 0. Keep replaysOnErrorSampleRate: 1.0.
Update app/privacy/page.tsx: session replay is recorded only when an error occurs, for stability, on the basis of legitimate interest. Mention Sentry as the sub-processor.
Acceptance criteria:
No replay is recorded for sessions without an error.
Privacy page describes error-only replay.
Existing tests/lint pass; no new cookie or non-essential identifier is introduced.
Out of scope: consent-gating replay (Option A), PostHog changes.
Activity
Juuro commentedon Nov 2, 2026
Agent Brief
Category: bug
Summary: Sentry Session Replay samples 10% of all sessions without consent. Switch to error-only replay (Option B from this issue).
Current behavior:
instrumentation-client.tssetsreplaysSessionSampleRate: 0.1, so random sessions are recorded with no consent. The existing consent banner only gates PostHog.Desired behavior:
replaysSessionSampleRate: 0. KeepreplaysOnErrorSampleRate: 1.0.app/privacy/page.tsx: session replay is recorded only when an error occurs, for stability, on the basis of legitimate interest. Mention Sentry as the sub-processor.Acceptance criteria:
Out of scope: consent-gating replay (Option A), PostHog changes.