🔥 Just Launched! Werra Premium Template for Hyvä See it in Action

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

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.

Initially, the cookie consent banner is displayed to users on their first visit. The default cookie consent state is sent to Google via the data layer. Now, when the users set their preferences, the consent state is updated in tags. The users can also change their preferences using the cookie preferences option.

Cookie consent banner with options to accept cookies and Google tag assistant states that shows types of cookies grantedCookie consent banner with options to accept cookies and Google tag assistant states that shows types of cookies granted

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.

frontend product page with cookie banner in lightweight stylefrontend product page with cookie banner in lightweight style
frontend product page with cookie banner to accept age groups among essential, advertising, and Analyticsfrontend product page with cookie banner to accept age groups among essential, advertising, and Analytics

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.

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.

admin panel configuration to configure the design and contentadmin panel configuration to configure the design and content
Magento admin side extension configuration to define cookie groups like Advertising, Analytics, and MarketingMagento admin side extension configuration to define cookie groups like Advertising, Analytics, and Marketing

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.

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.

Magento admin side configuration to add new consent parametersMagento admin side configuration to add new consent parameters
screenshot of tag manager consent tab with user updated consent state granted from deniedscreenshot of tag manager consent tab with user updated consent state granted from denied

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.

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

  • 9 Aug, 2024

    1.0.1

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

 

FAQs

1. What Happens if the Customer Denies Cookie Consent?

Ans. Google Analytics will not track users' data. Instead, it will use behavioral modeling to fill up the gaps.

2. What if I Don’t Implement Magento 2 Google Cookie Consent Mode v2?

Ans. You will not be able to collect data on users from the Economic European Area in your audience list.

3. Does it work with the Magento 2 GA4 extension?

Ans. Yes, Meetanshi's Magento 2 Cookie Consent module works perfectly with GA4 extensions. It uses a data layer to set consent modes, which are then sent to Google via tags.

4. How to Debug Cookie Consent States in Magento 2?

Ans. You can use Google Tag Assistant to check whether the cookie consent mode V2 is working properly.

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