TYPO3 Cookie Consent Extension

Add Conzent to your TYPO3 site with the official extension. PSR-15 middleware injection, Composer installation, and Admin Tools configuration.

The Conzent TYPO3 extension adds consent management to any TYPO3 12 LTS or 13 site using a PSR-15 middleware that injects the banner script into every frontend response.

Installation

Install:

  1. Download the extension from the TYPO3 Extension Repository (TER)
  2. Place it in packages/conzent/ (Composer mode) or typo3conf/ext/conzent/ (classic mode)
  3. Activate in Admin Tools > Extensions

Configuration

  1. Go to Admin Tools > Settings > Extension Configuration
  2. Select conzent
  3. Enter your website key from the Conzent dashboard
  4. Save

The consent script is automatically injected into every frontend HTML response.

Features

  • PSR-15 middleware — injects the consent script into <head> of every frontend HTML response, compatible with TYPO3's middleware stack
  • Google Tag Manager — optional GTM container injection with custom data layer name
  • GTM noscript fallback — injects the noscript iframe after <body> when GTM is configured
  • Admin Tools configuration — all settings managed through TYPO3's native extension configuration UI
  • Cache-compatible — works with TYPO3's page caching and CDN setups

Configuration Options

Setting Default Description
websiteKey (required) Your site key from the Conzent dashboard
serverUrl (empty — uses Conzent Cloud) For self-hosted (OCI), enter your server URL
gtmId (empty) Google Tag Manager container ID (e.g. GTM-XXXXXXX)
dataLayer dataLayer Custom GTM data layer variable name

Requirements

  • TYPO3 12 LTS or 13
  • PHP 8.1 or later

Self-Hosted (OCI)

If you run OCI on your own server, set the serverUrl in the extension configuration to point to your OCI instance.

Frequently asked questions

Which TYPO3 versions are supported?

TYPO3 12 LTS and 13, on PHP 8.1 or later.

Does the extension work in Composer mode?

Yes, and also in classic (non-Composer) mode via typo3conf/ext/conzent/.

Can I inject a Google Tag Manager container through the extension?

Yes, with an optional GTM container ID field and an automatic noscript fallback.

Does it work with page caching?

Yes, the middleware is cache-compatible and works with TYPO3's page caching and CDN setups.

Other Platforms

See integrations for WordPress, Drupal, Joomla, Umbraco, Wix, or the universal script tag for any other platform.