jump to content

Cookie consent

Learn how the platform's cookie-consent service and JavaScript client publish banner versions, group trackers into categories, and record visitor consent.

View as Markdown

the platform provides a cookie-consent service and the @probo/cookie-banner client package. Together they publish a versioned banner, collect a visitor’s choices, and control configured tracker resources.

  • A banner contains defaults, presentation settings, and translations.
  • Categories group trackers by purpose. Necessary and uncategorized categories have system behavior; custom categories can be added and reordered.
  • Tracker patterns identify resources and cookies. Tracker resources can be moved between categories.
  • A published version is the configuration delivered to visitors.
  • A consent record stores the action, category choices, banner version, client context, and timestamp reported to the platform.

Draft changes do not alter the configuration already shown to visitors. Publish a new version after reviewing categories, translations, resources, and defaults.

The JavaScript client fetches published configuration from /api/cookie-banner/v1, resolves language, regulation, and layout (presentation), reads existing consent, and renders the selected UI. It can block configured scripts, iframes, images, and other resources until their category is allowed.

The package supports a ready-made banner and lower-level web components for custom interfaces. The Consent Manager API exposes current choices and change events to other application code.

Geolocation, presentations (opt-in, opt-out, and notice), Global Privacy Control handling, version history, and consent records help teams implement a consent program. They do not determine which law applies, classify every tracker automatically, or guarantee legal compliance. The site operator remains responsible for tracker inventory, category purpose, copy, retention, and legal review.

Ultima actualizare: