Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This module integrates Usercentrics Consent Management into Magento.
It covers both Usercentrics solutions, namely Usercentrics CMP as well as Cookiebot by Usercentrics.
Regardless the module allows enabling Google Consent Mode v2, so adding a JavaScript snippet to the page, that defines default consent settings, which are being read by Google Tag Manager.

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printablefalse

Integration Configuration

Configuration depends on which integration is chosen.

Cookiebot by Usercentrics

If you use Cookiebot, enable the integration, choose appropriate integration type and configure domain group id.

...

Expand
titleWhere to find domain group id?

The Domain Group ID can be found in Cookiebot Admin → Implementation (green highlight)

image-20240308-072412.png

Usercentrics CMP

If you use Usercentrics CMP, choose appropriate integration type and configure settings ID.

...

Expand
titleWhere to find settings id?

Settings ID can be found in Usercentrics Admin Panel, in the preview of your sites (green highlight)

image-20240308-072149.png


Preview mode

Usercentrics CMP supports the preview mode, to test settings before deploying changes, in order to see the preview mode status, change the configuration in the Magento Admin Panel, enabling it.

...

Google Consent Mode

Both integrations of cookie management platform - Usercentrics CMP and Cookiebot, have a support for Google Consent Mode v2. To enable it, webpage needs to set default consent settings in prior, before loading Google Tag Manager. Our extension adds default consent configuration snippet to the right place in the codebase, and the default consent settings can be configured in the admin panel.

...