Cookie Consent Module with Google Tag Manager Integration for Magento 2

€28.33 €23.03
COMPOSER Installation
M-COOKIE-CONSENT
PayPal PayPal
Przelew Przelew

Magento Modules: Clear Guidelines

You purchase the module once, with no domain restrictions

Tooltip

Free installation and updates via Composer

Tooltip

Affiliate Program

Tooltip

Technical support for Magento

Tooltip

Clear guidelines for licensing Magento modules

Tooltip

Magento Module Code Security

Tooltip

Cookie Consent Module with Google Tag Manager Integration for Magento 2 is a comprehensive solution that helps you comply with personal data protection regulations, such as GDPR, and ensure that users of your online store consciously consent to the use of cookies. This module not only displays an elegant cookie consent banner, but also integrates Google Tag Manager (GTM), enabling real-time cookie consent management.

Main module features:

  • GDPR compliance: The module meets personal data protection requirements by allowing users to consciously consent to the use of cookies.
  • Dynamic Google Tag Manager integration: The module enables dynamic insertion of the Google Tag Manager TAG_ID without modifying the source code.
  • Easy configuration: The user can manage the Google Tag Manager ID directly from the Magento 2 admin panel, making marketing campaign and analytics management simple and intuitive.
  • Cookie consent banner: An elegant and responsive cookie consent banner that appears automatically on the store homepage and can be easily customized to individual needs.
  • User preference support: The module saves users cookie choices and automatically adjusts the Google Tag Manager configuration.

Why choose our module?

The Cookie Consent Module with Google Tag Manager Integration for Magento 2 is an essential tool for every online store owner who cares about compliance with privacy regulations and wants full control over analytics and marketing campaigns. With dynamic configuration and easy GTM integration, your store will be fully adapted to modern legal and technological requirements.

Benefits of using the Cookie Consent module:

  • Improved legal compliance: Meets GDPR requirements and other privacy regulations, increasing customer trust in your store.
  • Better marketing campaign optimization: Thanks to dynamic integration with Google Tag Manager, you can precisely control which tags are activated depending on user consent.
  • Ease of use: Simple configuration and management without the need to modify the website code.
  • Responsive design: The cookie consent banner is fully responsive and adapted to different devices, ensuring a consistent user experience.
  • Time savings: Fast installation and configuration of the module allow for immediate deployment in your store.

How does the module work?

After installing the module, the Magento 2 store administrator can easily enter the Google Tag Manager ID (TAG_ID) in the module configuration available in the admin panel. The module automatically displays the cookie consent banner on the store homepage. Users can consent to cookies, which dynamically enables Google Tag Manager tags according to their preferences. All user preferences are saved, allowing precise control over their on-site experience and regulatory compliance.

Summary

Our Cookie Consent Module with Google Tag Manager Integration for Magento 2 is an indispensable tool that combines compliance with data protection regulations with advanced analytics and tag management capabilities. With this module, you can focus on growing your business while being confident that you meet all legal requirements related to user privacy.

Installation

* In a production environment, please use the --keep-generated option

Type: Composer

  1. The module is available in the Composer repository:
    • Private GitLab repository: https://gitlab.com
  2. Add the Composer repository to the configuration:
    composer config repositories.cookie.consent vcs https://gitlab.com/magento2ext/magento-2-cookieconsent
  3. Add the access token for the private GitLab repository:
    composer config --auth gitlab-token.gitlab.com 
  4. Install the module using Composer:
    composer require kowal/module-cookieconsent
  5. Apply database updates:
    php bin/magento setup:upgrade
  6. Clear the cache:
    php bin/magento cache:flush

Questions and Answers

Question
Does the module allow displaying a cookie consent banner compliant with GDPR?
Answer
Yes — the “Cookie Consent Module with Google Tag Manager Integration for Magento 2” allows you to display a responsive cookie consent banner and ensures compliance with personal data protection regulations.
Question
Does the module integrate with Google Tag Manager (GTM) and allow tags to be controlled based on the user's consent?
Answer
Yes — the module allows you to dynamically insert the GTM ID and manage tag firing based on the consent given by the user.
Question
Can the administrator enter their own GTM ID (TAG_ID) in the Magento panel without editing the code?
Answer
Yes — the module configuration includes a field for entering the Google Tag Manager ID (TAG_ID), allowing for easy management without modifying the code.
Question
Can the user choose which types of cookies they accept (e.g., marketing, statistics, functional)?
Answer
Yes — the module supports managing user preferences and saving the selection, which enables the appropriate GTM tags to be activated only after consent has been obtained.
Question
Does installing the module require modifying Magento core files or the theme?
Answer
No — installation is done in the standard way via Composer (“composer require …”) and does not require modifying Magento core files.
Question
Does the consent banner work properly on mobile devices?
Answer
Yes — the banner is responsive and adapted for display on different devices (desktop, tablet, phone) as described in the module.
Question
Does the module save the user's cookie choices so that their preferences are respected on subsequent visits?
Answer
Yes — the module saves the user's preferences and accordingly activates or blocks tags in GTM based on that consent.
Question
Does the module affect the store’s operation or performance?
Answer
The impact is minimal — the module adds a banner block and consent selection logic, which should not significantly affect the store front. Nevertheless, with any extensions, it is always worth testing in a test environment.
Question
Is the module compatible with newer versions of Magento 2 (e.g., 2.4.x)?
Answer
Yes — the module is available for Magento 2 and is described in the store listing as compatible with typical Magento 2 versions.
Question
Do I receive technical support and updates after purchasing the module?
Answer
Yes — the product description states: “Free module updates” and technical support.
Write Your Own Review
You're reviewing:Cookie Consent Module with Google Tag Manager Integration for Magento 2
Your Rating
Products
Aktualizacja preferencji plików cookie