Configuration 

The extension requires minimal configuration. After including the static TypoScript template (see Installation), the consent script and cookie button are rendered automatically.

TypoScript setup 

The static TypoScript template [kroener.DIGITAL] Prive Consent configures:

  • lib.priveScript -- a USER object that calls DatabaseService->renderBannerScript() to output the consent script
  • page.footerData -- inserts the cookie button HTML and consent script before </body>
  • page.includeCSS -- loads the cookie button stylesheet

The footerData keys use crc32('ok_prive_cookie_consent') to avoid collisions with other extensions.

Prive account 

The JavaScript snippet that powers the consent banner is provided by Prive. You need a Prive account to obtain the script. Paste the script into the backend module (see Usage).

Refer to the Prive documentation for configuring which cookies are managed, consent categories, banner appearance, and language settings.