---
title: 'Cookie Consent'
url: 'https://info.srv.kowal.co/docs/magento/modules/cookieconsent'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/cookieconsent.md'
lang: en
date: '2026-11-29'
description: 'Set the banner language for each store view and configure Google Tag Manager. Change a saved cookie preference and verify the consent state in tag preview.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - privacy
    - analytics
---

# Cookie Consent

**Composer** `kowal/module-cookieconsent` · **Version** 1.1.5

## Product page

[Cookie Consent — kowal.co](https://kowal.co/magento-2-cookie-consent-module-with-google-tag-manager-integration)

## Description

Display a cookie preference banner and pass consent settings to Google’s data layer. Shoppers can reopen their preferences on the storefront.

## For whom

For teams managing the banner and Google tag loading across language-specific store views.

## Features

- Choose a banner layout, language, palette and button colours.
- Link to the privacy policy and reopen saved preferences.
- Configure the Google tag and Google Tag Manager container separately.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-cookieconsent
bin/magento module:enable Kowal_CookieConsent
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Select the store view under **Stores → Configuration → General → Cookie Consent Configuration** and enable **Module Status**.
2. Enter the website name and privacy policy URL. Set the language and **Consent type**, choose a layout and check button readability.
3. If the Google tag is already present, select **Google Tag ID is already installed**. Enter the GTM container ID only if this module should embed it.

## Requirements / notes

The existing Google tag setting controls loading of gtag.js. The GTM container is loaded separately when its ID field is populated.

## FAQ

**How can shoppers change a saved choice?**

The **Update cookie preferences** link reopens the preferences panel. Check that the link is reachable in the mobile theme as well.

## Verify the installation

```sh
bin/magento module:status Kowal_CookieConsent
```

In a fresh browser session, check the language and policy link. Reject optional categories, reopen preferences and change the selection. In tag preview, compare the consent state before and after the change.

## Components included in Cookie Consent

 [ **Cookie Consent Hyvä** Make keyboard focus and text links visible in the existing Cookie Consent banner on a Hyvä storefront. ](https://info.srv.kowal.co/docs/magento/modules/cookieconsent/cookieconsent-hyva)

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [eMAG Marketplace Integration](https://info.srv.kowal.co/docs/magento/modules/emag.md)
- Next: [AI Product Feed](https://info.srv.kowal.co/docs/magento/modules/ai-product-feed.md)
- Children:
  - [Cookie Consent Hyvä](https://info.srv.kowal.co/docs/magento/modules/cookieconsent/cookieconsent-hyva.md)
