Skip to Content
How-to guidesAnalytics and consentConfigure storefront consent

Configure storefront consent

Audience: CMS editor.

Use this procedure to create consent options and assign a consent popup.

Prerequisites

  • Use an account with at least the MANAGER role and both CONTENT_ACCESS and ADMIN_ANALYTICS permissions.
  • Use the required project and locale settings permissions to assign a configuration.
  • Select the purposes that your integrations require.
  1. Open Consent records in the CMS.
  2. Select the existing ANALYTICS_STORAGE option for analytics, or create the required consent records.
  3. For each new option, set its name, fixed uppercase key, and description.
  4. Set Selected by default as required.
  5. For required options, disable Visitor can change this consent and select the option by default.
  6. Create other purposes with their own keys.

CMS initialization adds ANALYTICS_STORAGE as an editable opt-in consent. It does not replace existing values. Use ANALYTICS_STORAGE with the Google CMS examples and built-in realtime analytics. The same consent records supply Required consents on browser integrations. Use the field and mode reference for exact behavior.

Configure the popup

  1. Create a Consent configuration under Konfiguration.
  2. Enter the popup title and description.
  3. Set an optional internal name to organize configurations.
  4. Use rich-text blocks in the description for formatting and links.
  5. Select the consent mode and options to show.
  6. Assign this record as Consent configuration in Einstellungen for the general default.
  7. For a language or region, assign another record in Lokale Einstellungen.
  8. Use separate configuration records for translated titles and descriptions.
  9. Select the required consent records on each browser integration and save it.

Names, popup titles, and descriptions can use consent dialog translation keys. The default analytics option uses index.analyticsLabel and index.analyticsStorageDesc. Plain text and unknown keys appear as entered. Translation keeps formatting and link targets. Consent definitions apply to all website domains.

Verify the configuration

  1. Open the published storefront with the intended locale.
  2. Make sure the popup uses the expected title, description, and consent options.
  3. Save a consent choice. Make sure integrations run only when each required consent is granted.
  4. Withdraw an editable consent. Make sure delivery to affected integrations stops.
  5. Test locale and regional assignments separately.

The configuration reference defines inheritance and disabled-popup behavior. In blocking and non-blocking modes, a preselected option does not grant consent until the visitor saves a choice.

Last updated on