Skip to content

[feature] Cookie consent bar #1

@afrittellalhc

Description

@afrittellalhc

Implement a cookie consent bar on the website to comply with privacy and data usage standards. The bar should display if the consent cookie is not present and must remain accessible at all times (e.g., via a floating button or footer link).

Requirements:
Display a cookie banner with the following categories:

  • Necessary cookies (YouTube) – always enabled
  • Statistics cookies (Matomo)
  • Marketing cookies (Meta, Snapchat)

Include three action options:

  • "Accept All"
  • "Reject Non-Essential"
  • "Customize Preferences" (opens a modal)

If the user accepts or rejects, store their preferences in a consent cookie with a 1-year expiration.

Include a modal where users can review and update their preferences.

Add a persistent button (or link in the footer) allowing users to access and update their cookie settings at any time.

Use standard legal text for cookie categories (to be validated with the legal team).

Based on the users' consent, we should block/unblock all third-party scripts that are impacted, present in the file src/app/layout.tsx as well as the YouTube video consent prop, present in `src/app/[locale]/page.tsx

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions