Magento 2 Google Consent Mode v2

(11Reviews)

Effectively collect and use user data for personalized advertising. Magento 2 Google Cookie Consent Mode v2 extension helps you comply with privacy laws in regions like the European Economic Area.

Key Features:

  • Send consent via Google tags
  • Custom consent parameters
  • Fully customizable design
Compatible with: Magento CE, EE 2.3.x, 2.4.x

Magento Cloud

Description

Google Consent Mode v2 Requirement

From March 2024 onwards, Google announced that consent mode v2 is mandatory for the ad personalization features. You must collect consent from users in the European Economic Area (EEA) and the UK to use their data for ad personalization and analytics.

Our solution for Google Consent Mode v2 in Magento 2 is here.

It helps you comply with privacy regulation laws and optimize data collection in your existing analytics (via GTM or gtag.js) setup.

Update: Google is also expanding its user consent policy to apply in Switzerland from July 31, 2024 onwards.
Cookie Consent Banner Example

How Does Magento 2 Cookie Consent Mode v2 Help You?

Google Ads Personalization

Collect permission from users to use their data for personalized ads in the EEA and the UK

Optimize GA4 Tracking

Google Analytics 4 uses behavioral modeling to fill data gaps created by denied consent

Build Customer Trust

Display respect for your customer's digital privacy by obtaining consent for cookies

Improve UX

Stay transparent with the users about how you use their data and improve their experience

Key Features of Magento 2 Google Consent Mode v2 Extension

Lightweight Cookie Banner

The Cookie Consent Magento 2 is optimized for both desktop and mobile devices. Its lightweight code and minimal design ensure a superior experience for the customers.

Lightweight Cookie Banner

Choose Cookie Preferences

Users can set their preferences for individual cookie groups. You can also add a cookie settings icon to allow them to update their preferences at their will.

Cookie Preferences

Customize Design & Content

Create a banner that seamlessly blends with your theme and brand. The Magento 2 Cookie Consent v2 configuration allows you to customize:

  • Background color
  • Button background & text colors
  • Button label
  • Preferences icon color

This ensures your cookie consent banner matches your site's aesthetic perfectly.

Customize Design

Manage Cookie Groups

Using the Magento 2 Cookie Consent extension, you can define cookie groups in the backend, which are then displayed to end-users on the cookie preferences screen. For example, you can create groups for:

  • Marketing
  • Analytics
  • Advertisement

Store visitors can choose to accept or deny cookies by group, giving them more control over their preferences.

Manage Cookie Groups

Custom Consent Types

The extension includes default parameters for the following Google consent types:

  • ad_storage
  • analytics_storage
  • ad_user_data
  • ad_personalization

You can also add custom parameters as per your needs and modify the default state for each.

Custom Consent Types

Seamless Google Tags Integration

The Google Cookie Consent v2 for Magento 2 extension ensures real-time integration with Google tags. It sends the user's consent state during page load and updates via the data layer.

Additionally, you can configure the extension to remember customer preferences for a specified number of days.

Google Tags Integration

GeoIP-based Popup Display

The extension detects the visitor location with its GeoIP functionality and enables the content banner accordingly. Using the general settings, you can specify the countries for which consent collection is required. This helps your store collect data from other countries that do not require consent.

Google Tags Integration

Customer Reviews

Quick and easier to manage
Extension Ratings
Verified Buyer
Review by
Easy to manage, As I just required this extension to consent for Google Analytics.
Great tool
Extension Ratings
Verified Buyer
Review by
I was searching for the perfect tool and ended up with the same.
effective and easy module
Extension Ratings
Verified Buyer
Review by
the features are exactly what I needed to stay compliant, Go for it.
Highly recommend
Extension Ratings
Verified Buyer
Review by
I'm selling beauty products all over European countries, and installing this extension has been a lifesaver!
happier with how well it works!
Extension Ratings
Verified Buyer
Review by
I love how this module is great for Google consent management! The responsive banner fits perfectly with my site's theme.
Simple and work well
Extension Ratings
Verified Buyer
Review by
extension is working as expected
very good
Extension Ratings
Verified Buyer
Review by
the module is nice and very easy to use and configure through backend

first, it was a bit incompatible with Porto theme and didn't work properly, but after opening a ticket they fixed it very fast at no costs!
Better than other extensions
Extension Ratings
Verified Buyer
Review by
Go for it.
Excellent team
Extension Ratings
Verified Buyer
Review by
I am using Hyva frontend and the extension works well with it. I tried other extensions before this, but they were not compatible with hyva. Meetanshi's solution is good.
I recommend
Extension Ratings
Verified Buyer
Review by
The extension helped us comply with the consent mode v2 in our m2 store. The support team was good; helped me implement it.
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Changelog

  • 11 Aug, 2025

    1.0.2

    • Compatible with Magento 2.4.8.
  • 9 Aug, 2024

    1.0.1

    • -Compatible with Magento 2.4.7-p1.
    • -Multistore compatible.

 

FAQs

$129.00
 
  • Lifetime license to source code
  • 30 Days money back Guaranteed
  • Free support and updates for 1 year