Magento 2 Cookie Consent Extension | GDPR & Google Consent Mode v2

The Magefan Magento 2 Cookie Consent is a Magento Extension that enables you to collect, manage, and log customer cookie consents in compliance with GDPR, CCPA, LGPD, CNIL, and Google Consent Mode v2. The extension lets you display a customizable cookie consent popup, create unlimited cookies and cookie groups, target specific countries via Geo IP targeting, automatically detect third-party cookies, and store a full log of all customer and guest cookie consents.

Magento 2 Cookie Consent module blocks all non-essential cookies until consent is provided to comply with the Google Consent Mode v2 and allows users to update their cookie settings at any time through a cookie link or a floating cookie label.

Seamless Magento GDPR compliance and compliant Google Ads and Analytics tracking within one extension.

$149
one-time-payment-info
one-time payment
Add to Cart
Not
a subscription
30 days
money back
365 days
of free support and updates
one-time-payment-info
Lifetime
access to source code
Magento 2 Cookie Consent Extension benefits
magento 2 cookie consent extension
magento cookie consent popup
magento google consent mode support
Live DemoLive Demo
Compatibility:Magento 2.3.0 - 2.4.9 (CE, EE, ECE, B2B)
Version:2.1.6
Composer
Composer
Mage-OS
Mage-OS
Hyva
Hyvä
Breeze
Breeze
Made in Ukraine
Claude
Made in Ukraine
Made in Ukraine

Add GDPR, CCPA, and LGPD Compliance for Magento

Magefan Cookies Consent for Magento automatically makes stores compatible with all major data privacy laws, e.g. EU Use Data Privacy Policy, including GDPR, CCPA, LDPD, CNIL, etc.

relevant

Magento GDPR Compliance

The General Data Protection Regulation requires every store serving EU or UK customers to obtain consents before setting any non-essential cookies. The Magento Cookie Consent Extension displays a customizable cookie consent bar, blocks non-essential cookies from loading before consent and logs every consent with all details.
relevant

Magento CCPA Compliance

California Consumer Privacy Act requires stores to inform users about the data being collected and provide a clear option to reject it. Magefan Cookie Consent allows you to set titles and descriptions for every cookie you collect and provides “Reject all” and “Accept specific” options in the cookie consent bar.
relevant

Magento LGPD, CNIL, PDPA Compliance

Rather than building individual workflows for cookie consents for each market, Magento 2 Cookie Consent Extension follows the data privacy regulations similar to GDPR, LGPD, CNIL and PDPA - and uses the Geo IP targeting that allows you to show the cookie consent notice for all or specific countries only.

Ensure Complete Magento Cookie GDPR Compliance

Use Magefan GDPR Extension to explicitly inform customers that you collect cookies, let them reject or accept specific cookies, and update their cookie preferences at any time, according to all major EU Data Privacy Policies and other regulations.

Show Magento Cookie Notice

Magento 2 Cookie Consent extension adds an advanced cookie notice for Magento with options to accept, deny or allow specific cookies and an extended cookie list explaining each cookie you collect.

Configure cookie consent bar title, description, buttons and cookie settings popup to be transparent about your cookie policy.

Show cookie consent bar during the first visit and collect essential, marketing and analytics cookies according to EU data law requirements.

enable cookie consent popup in magento
cookie consent geo targeting in magento

Enable Cookie Bar Geo Targeting

Enable cookies consent popup for all, EEA, or specific countries, depending on the regions where you sell.

Magento 2 Cookies Consent Extension offers Geo IP targeting to detect users' location and personalize cookie banner display.

Collect only relevant data for relevant regions.

Let Users Edit Their Cookie Settings

Allows users to update their cookie preference at any time for complete Magento 2 GDPR compliance using multiple tools:

  • - Cookie settings in footer — enable the cookie link to be visible across the entire store for easy access.
  • - Cookie settings link widget — add cookie settings link to any content area, e.g.
  • privacy policy page, product page, etc.
  • - Cookie label — add floating cookie settings that users can access at any time on any page.
cookie update link in footer and cookie floating label magento

Manage Magento Cookie Consents Better

Magefan Cookie Consent Extension enables you to manage cookie consents, create new cookies and cookie groups, store all cookies in logs and detect any 3rd-party cookies automatically.

Add New Cookies and Cookie Groups

Go beyond default Magento cookies with Magento Cookie Consent Extension and have full control over the data you collect.

  • - Create cookie groups and mark them as required or optional, so users can easily opt out of some specific cookies.
  • - Add new cookies, with a unique title, description, and lifetime to be transparent about what you collect and why.
add new cookies and cookie groups in magento
cookie consent logins in magento admin panel

Collect and Track Cookie Consents in Logs

Magento 2 Cookie Consent Extension automatically collects all customer and guest information consent in one place.

Filter cookie consents by date, store view, customers, IPs, cookies and page URL to easily find necessary ones.

Set log lifetime to clear consents automatically once cookies expire, to avoid penalties and protect your business.

Detect All 3rd-party Cookies Automatically

Get notified whenever there are new cookies detected in your store with the automatic Magento 2 Cookie Collector.

All cookies added by third-party extensions are added to your cookies list as disabled.

Edit them, add descriptions and groups or just keep them disabled.

automatic cookie collector for third party cookies
magento cookie list widget added to privacy policy page

Add Cookie List to Privacy Policy Page

Show all cookies you collect transparently on “Privacy Policy”, “Enable Cookies” or any other page on your store.

Use Magento Cookie Consent - List widget to paste information about all essential, marketing and analytics cookies and their lifetime to any content area.

Make your cookie policy transparent and easily accessible for users.

Support Google Consent Mode v2 in Magento

Magefan Cookie Consent Extension for Magento is fully compatible with the Google Consent Mode v2. It allows you to set default content states and update them depending on the user's consent settings. Even if users don't consent, Google tags will then collect a minimum amount of data from pings instead of cookies.

With the Magefan GTM Extension, you can also make Google tags load only after users accept content for better data privacy and compliance with Google Consent Mode v2.

Frequently Asked Questions: Magento Cookie Consents

What is Magento 2 Cookie Consent?

collapsible icon
Magento 2 Cookie Consent is an extension that displays a cookie consent popup on your Magento storefront, informs visitors about the cookies your store uses, and collects their consents before loading any analytics or marketing tracking scripts. It allows you to create cookie groups, customise cookie banner messages and button labels, log all consents from guests and registered customers, and comply with data privacy regulations, including GDPR, CCPA, LGPD, and CNIL.

Does Magento 2 require a cookie consent banner?

collapsible icon
A cookie consent banner is required in Magento for any store that uses tracking cookies for analytics or marketing purposes and sells to customers in regions covered by data privacy regulations, including the EU and UK (GDPR), France (CNIL), California (CCPA), Brazil (LGPD), and Singapore (PDPA). In these regions, you must inform visitors about the cookies you use and obtain their explicit consent before loading any non-essential tracking scripts.

Can I customise the cookie consent banner in Magento?

collapsible icon
The Magefan Cookie Consent Extension allows you to fully customise the cookie consent banner directly from the Magento admin panel. You can edit the banner title, description and button labels (Accept All, Reject All, Accept Specific), set cookie group names, descriptions, and lifetimes, and control which countries see it using Geo IP targeting.

What is Magento GDPR cookie consent?

collapsible icon
Magento GDPR cookie consent is a compliance mechanism that requires Magento stores serving EU and UK users to display a cookie consent notice and block all non-essential tracking scripts until the visitor explicitly gives consent.

How does Google Consent Mode v2 work in Magento?

collapsible icon
Google Consent Mode v2 works in Magento, adjusting GA4 and Google Ads tracking scripts based on users' cookie consents. The Consent Mode v2 sends analytics_storage, ad_storage, ad_user_data, and ad_personalization signals to Google normally if the users accept cookies making your store compliant with the data privacy laws. Even if users decline cookies, the Google AI-driven conversion mdoeling with still extract some anonymized data.

What is the difference between Magento cookie notice and cookie consent?

collapsible icon
Magento 2 cookie notice is an informational banner that tells visitors your store uses cookies. The notice doesn’t require any actions and doesn’t block any scripts. The cookie consent is the legal mechanism where visitors accept or decline specific types of cookies before non-essential scripts are loaded. Cookie consent is required for most modern data privacy laws like GDPR and CCPA.

Does Magento block cookies before user consent?

collapsible icon
Default Magento doesn’t block cookies before consent, which means that Magento is not compatible with GDPR and Google Consent Mode requirements. The Magefan Cookie Consent Extension resolves this by blocking all non-essential cookies from loading until visitors explicitly accept relevant cookies grups.

People Also Searched For
magento 2 cookie notice
magento 2 cookie consent
magento cookie consent
magento cookie notice
magento 2 cookie settings
magento 2 cookie consent extension
magento 2 cookie notice extension
magento 2 cookies
magento 2 cookie popup
magento 2 cookie policy
magento 2 cookie compliance
cookie consent for magento 2
cookie consent magento 2
magento 2 cookie consent module
magento cookie consent hyvä
magento cookie consent adobe commerce

Magefan Cookie Consent Feature Highlights

Cookie consent bar

Display cookie consent banner with your custom text, description and action buttons

Cookie groups

Create cookie groups based on categories such as essential, analytics, marketing, and others

Cookie management

Add and manage cookies, assign them to groups, and configure lifetime and other settings

Google Consent mode

Enable Google Consent Mode to control how tracking tags behave based on user consent

Cookie list widget

Display a full list of collected cookies on your privacy policy or any page using a widget

Cookie settings link

Add cookie settings link to footer or any page to allow customers to update their consent preferences

Cookie consent log

Store consent records for both guest and logged-in users for compliance and audit purposes

Automatic cookie collector

Detect cookies set by third-party extensions automatically and receive notifications about new cookies

Cookie GeoIP settings

Show the cookie consent bar for specific or selected countries
Related Products
Magento 2 Google Tag Manager
Google Tag Manager
$99
(46)
Monitor customers' behaviour, product and checkout performance to improve your Magento store and make informed business decisions.
Magento 2 SEO Extension
SEO
$99
(64)
Improve your search positions, drive more organic traffic and increase conversions. Automate your store SEO with Magefan.
Magento 2 Facebook Pixel Extension
Facebook Pixel
Regular Price $79 Special Price $0
(11)
Track customers' behaviour in your store with Facebook Pixel to leverage that data in your Facebook campaigns.
 

Reviews about Magefan Cookie Consent

Magento 2 Cookie Consent
Live Demo
chevron-up Top
Stand with Ukraine! How can you help?
Find out more