---
title: "Configuration"
manual: "Maagitcookie"
version: "main"
permalink: "https://docs.typo3.org/permalink/maagit/maagitcookie:configuration@main"
source: "Configuration/Index.rst"
rendered: "2026-11-19T19:59:23+00:00"
---

# Configuration {#configuration}

## Category and service records {#configuration-records}

**Name** and **Description** are required for a category. **Needed** always
permits its services. **Wanted** and **Checked** default to disabled and are
passed to the JavaScript widget as initial state; verify the resulting user
interaction against the site's legal requirements.

Each service requires a **Name** and **Category**. **Pattern** is an optional
PHP-compatible regular expression; empty disables replacement. **Replacement**
is empty by default, so a valid pattern then removes each match. Both record
types support TYPO3 visibility, start/end time, and frontend-group access.

## General settings {#configuration-general-settings}

| Backend label | Purpose and allowed values | Default |
| --- | --- | --- |
| Storage Pid | One or more pages containing category records; required operationally. | No page |
| Recursive | Search depth `0`–`4` or `Infinite` (internally `250`). | `0` |
| Timeout in miliseconds | Non-negative bar delay in milliseconds (source label spelling). | `0` |
| Consent cookie lifetime in days | Lifetime from `1` through `730` days. | `180` |

![Maagit Cookieconsent FlexForm with storage page and general settings](../Images/Backend/ConsentConfiguration.png)

## View settings {#configuration-view-settings}

**More link** is an optional URL; **More link target** is `_self` (default)
or `_blank`. Required colour defaults are: bar `#efefef`, bar text
`#404040`, bar button `#475168`, bar button text `#ffffff`, modal button
`#8ec760`, and modal button text `#ffffff`.

## Structured data {#configuration-schema-settings}

**Schema-Type** defaults to `none`. **Local Business** emits schema.org
JSON-LD. **Business type** defaults to `LocalBusiness`; **More specific type**
overrides it. Optional fields cover name, description, address, coordinates,
phone, email, URL, image URL, weekdays, and a common opening/closing interval.
The extension does not validate their semantic correctness.

## Privacy and security {#configuration-privacy-security}

Consent is stored in `cconsent`. Invalid JSON, unsupported cookie versions,
missing category data, and non-boolean values mean no consent. **Needed**
categories bypass this check. Invalid regular expressions leave HTML unchanged
and write the service UID, name, pattern, and error to TYPO3's system log;
patterns must not contain secrets or personal data.
