Skip to content

Session Replay Cookie Banner? #227

Open

Description

@Juuro
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).


Activity

  1. added this to the MVP milestone on Mar 15, 2026
  2. self-assigned this
    on Mar 15, 2026
  3. moved this from Todo to In Progress in Concertivity Projecton Apr 15, 2026
  4. added
    bugSomething isn't working
    ready-for-agentFully specified, ready for an AFK agent
    on Nov 2, 2026
  5. Juuro commented on Nov 2, 2026

    @Juuro
    OwnerAuthor

    This was generated by AI during triage.

    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.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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbusinessready-for-agentFully specified, ready for an AFK agent

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions