771 B
771 B
Purpose
Canonical specification for cookie-consent-tracking-gate requirements synced from OpenSpec change deltas.
Requirements
Requirement: Consent banner captures and persists tracking consent
The system SHALL display a cookie consent banner and persist user consent decision in cookies before enabling analytics tracking.
Scenario: Consent capture and persistence
- WHEN a user interacts with the consent banner and accepts
- THEN consent state is stored in a cookie
- AND stored consent is honored on subsequent visits
Scenario: Tracking gated by consent
- WHEN consent has not been granted
- THEN analytics/tracking scripts and events do not execute
- AND tracking begins only after consent state indicates acceptance