TYPO3 Cookie Consent Extension
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:
- Download the extension from the TYPO3 Extension Repository (TER)
- Place it in
packages/conzent/(Composer mode) ortypo3conf/ext/conzent/(classic mode) - Activate in Admin Tools > Extensions
Configuration
- Go to Admin Tools > Settings > Extension Configuration
- Select conzent
- Enter your website key from the Conzent dashboard
- 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.