---
title: "General"
manual: "Klaro! Consent Manager"
version: "3.0"
permalink: "https://docs.typo3.org/permalink/erhaweb/klaro-consent-manager:for-editors-cookie-general@3.0"
source: "Editor/Cookie/General/Index.rst"
rendered: "2026-09-24T10:59:28+00:00"
---

# General {#for-editors-cookie-general}

![Inline cookie record inside a Klaro service record](../../../Images/Service-Cookie.png)

-   [Identification and presentation of the cookie](https://docs.typo3.org/permalink/erhaweb/klaro-consent-manager:identification-and-presentation-of-the-cookie@3.0)
-   [Technically relevant settings](https://docs.typo3.org/permalink/erhaweb/klaro-consent-manager:technically-relevant-settings@3.0)
-   [Expiration Time](https://docs.typo3.org/permalink/erhaweb/klaro-consent-manager:expiration-time@3.0)

## Identification and presentation of the cookie {#identification-and-presentation-of-the-cookie}

### Identifier {#identifier}

-   **identifier**

    -   *type:* string
    -   *Default:* ''

    This is a unique identifier for this cookie. It must be written in lower case and must not contain any spaces, only the characters a-z, 0-9 and "-" or "\_". The identifier can be used in Fluid, for example when adapting [Fluid-enriched labels](https://docs.typo3.org/permalink/erhaweb/klaro-consent-manager:howto-fluid-enriched-labels@3.0).

### Title {#title}

-   **title**

    -   *type:* string
    -   *Default:* ''

    If set, this title will be used in the frontend/backend for displaying the cookie. This title has no technical relevance (contrary to the `pattern` field).

## Technically relevant settings {#technically-relevant-settings}

This information is technically evaluated by Klaro! to manipulate the cookie.

### Name / Pattern {#name-pattern}

-   **pattern**

    -   *type:* string
    -   *Default:* ''

    Name or regular expression (regex)

    **Example:** `/^_pk_.*$/`

### Path {#path}

-   **path**

    -   *type:* string
    -   *Default:* ''

    Provide a path if you have services that set cookies for a path that is not "/"

### Domain {#domain}

-   **domain**

    -   *type:* string
    -   *Default:* ''

    Provide a domain if you have services that set cookies for a domain that is not the current domain.

## Expiration Time {#expiration-time}

### Expires after {#expires-after}

-   **expires_after**

    -   *type:* string
    -   *Default:* ''

    **Condition:** `expires_after_unit != 'end-of-session' AND expires_after_unit != 'persistent'`

    Number of years/months/days/hours/minutes/seconds that will elapse before this cookie expires.

### Expires after unit {#expires-after-unit}

-   **expires_after_unit**

    -   *type:* string
    -   *Default:* 'days'

    Unit used for the "Expires after" specification. The special value `end-of-session` does not need a numeric value and hides the "Expires after" field accordingly.

    **Options:**

    -   Years `[years]`
    -   Months `[months]`
    -   Days `[days]`
    -   Hours `[hours]`
    -   Minutes `[minutes]`
    -   Seconds `[seconds]`
    -   End of session `[end-of-session]`
    -   Persistent `[persistent]`

    > [!NOTE]
    > The option `persistent` should be used only if external sources
    > (e.g. cookie scanners or provider documentation) list the cookie
    > simply as *persistent* without specifying an exact expiry period.
    > From a GDPR perspective, it is recommended to provide a concrete
    > storage duration whenever possible.
