CookieConsentBanner
Component Detail
User Interface
medium complexity
Shared Component
frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Overlay banner displayed on first visit that requests explicit prior consent before any non-essential cookies are placed. It provides accept, reject, and granular preference controls. Consent state is persisted in a first-party cookie and re-checked on every page load.
cookie-consent-banner
Sources & reasoning
Listed explicitly in the Sales Website product description at line 224. Phase mapping: Sales Website scope appears in Fase 1 MVP at lines 335-338 → "MVP". Norwegian ePrivacy Regulation mandates a cookie policy and prior-consent banner for any website using non-essential cookies; the Sales Website uses analytics tooling that places tracking cookies.
-
docs/source/likeperson.md · line 224Privacy policy, Terms of Service, Data Processing Agreement, Cookie Policy
Responsibilities
- Display consent request on first visit before any non-essential cookies are set
- Offer accept-all, reject-all, and per-category consent controls
- Persist consent choices to a first-party consent cookie
- Suppress banner on subsequent visits when valid consent is already recorded
- Provide a direct link to the CookiePolicyPage for full cookie details
Interfaces
show(): void
hide(): void
getConsentState(): ConsentState
saveConsentState(state: ConsentState): void
hasValidConsent(): boolean