Cookie Consent (GDPR) for Magento 2

Make your store fully compliant with EU Cookie Law via the Magento 2 Cookie Consent extension. With a customizable design and management over categories and cookies to include, you can create an optimal experience for your users with the power to withdraw their consent at any time.

See available subscription options!

  • Choose a cookie bar style and customize the design
  • Arrange cookies into obligatory and optional categories
  • Collect and filter all cookie consents from registered and guest users
  • Block third-party cookies
  • NEW: Now the module content is available in the German language!
$149 first year
Product updates and support for 12 months

then $275 / Year

more info

then $95 / Year

more info

Pick combo deal and get 10% discount

Cookie Consent (GDPR) for Magento 2
$149 first year
GeoIP Redirect for Magento 2
$179 first year
Payment Restrictions for Magento 2
$199 first year
Save $52.70

 ❓ Challenge

If you run a website within the European Economic Area territory or if your users are EEA residents, you must comply with the EU Cookie Law. If you don’t, you risk receiving enforcement requests or administrative fines resulting in poor customer loyalty.

💡 Solution

Magento 2 Cookie Consent notice ensures full compliance with Cookie Legislation articles to protect personal data and avoid penalties for breaching the EU Cookie Law. The extension implements a detailed cookie bar to meet data collection requirements, improve customers’ user experience, build loyalty and manage consents in a lawful way.


The EU Cookie Law is a part of a privacy legislation outlining what users are allowed to do with your digital data. It is designed to protect online privacy by telling users how the information about them is used and obtaining their consent prior to browsing to ensure this.

According to the Cookie Legislation, some cookies do not require getting customers’ consent prior to their usage. These are the obligatory or ‘strictly necessary’ cookies that are required for optimal site functionality. All other cookies require consent before one can process them. The cornerstone is to detect which cookies are essential — unless you surely know they are the essential ones, you risk facing penalties for non-compliance.

To comply with EU Cookie Legislation, 3 actions from EU website owners are required:

  • Let visitors know that your Magento site uses cookies
  • Provide detailed information on how cookie data will be used
  • Allow users to accept or refuse the use of cookies on your site

Magento Cookie Notice tool covers all merchant’s needs concerning cookie policy.

What benefits do you get for your store


Avoid penalties for breaching Cookie Legislation by observing its principles


Increase customer loyalty and retention by providing complete cookie info


Strengthen data privacy and security by following documentation requirements

Collect Cookies at the First Interaction

To ensure customers provide their consent, an informative and easy to manage cookie popup in Magento 2 appears. The extension has 3 available cookie bars allowing you to choose the most suitable one for your store and make cookie information clear. Any bar displays require cookie data and the options to allow all the cookies or particular ones only.

NEW: Let your customers forbid the processing of all non-essential cookies using the ‘Decline’ button. Thus, shoppers can reject the collection of all cookies at once without disabling each group separately. Show or hide the button according to your business needs on any bar type.

cookie notice magento 2

Sidebar with toggles: display cookie groups and their descriptions to provide selective compliance

Cookie pop-up: show a compact popup with buttons in the center of the page

Classic bar: convenient and familiar placement to allow users to see the cookie bar at the top of the page or at the footer

Customization for any bar: change the color of each pop-up element to match your store branding

Customization of buttons depending on your goals: change the order, color, name of the buttons



Now you can show a cookie popup for the customers from particular countries only. Automatically detect users' locations and limit cookie settings visibility to get relevant consents.

Cover specific legislation requirements

Before giving consent, shoppers should have an opportunity to check what data about them is being collected and how it will be used. With our detailed cookie descriptions, customers are more likely to provide their consent as well as consider your online store to be trustworthy. In our Magento 2 module, we touch on the cookie notice which includes the necessary data and explain how it lets visitors find the information they need without redirecting them to other pages of your site.

Regulate cookie policy for your Magento 2

The law obliges store owners to retain all documentation concerning customers’ consent and manage appropriately Moreover, the regulation strongly recommends the timely updating of cookies. With the Magento 2 Cookie (GDPR) extension, all management issues are easy and seamless to overcome.

[PRO] Comply with GDPR requirements to the full

Cookie consent is only a part of privacy legislation. To sell across European countries, you also have to comply with the General Data Protection Regulation (GDPR), which includes numerous requirements concerning personal data processing. Discover how the Pro package of the Cookie Consent solution can cover all of them on the example of some articles.

👉 See full feature list of GDPR solution

[PREMIUM] An upgraded cookie bar and visualized reports

Cookie Consent Premium includes a unique all-in-one cookie bar and consent reports so that you could analyze customer activity concerning cookies and make data-driven decisions about cookie groups optimization.

Choose the suitable legislative solution

To comply with the requirements

Cookie Consent


  1. $149 first year
    then $95 / Year Cookie Consent (GDPR) for Magento 2 -
    $149 first year

    Product updates and support service subscription — included the first year
    Price to be paid today -
    $149 first year

    Subscription for the following year — $95 / Year
  • 3 types of cookie bar
  • Cookie CMS page
  • Cookie categories
  • Consents log
  • Popup customization
  • Buttons customization
  • Compliance with WCAG rules
  • Collecting cookie consents from registered and guest users
  • Third-party cookie blocking
  1. then $95 / Year Cookie Consent (GDPR) for Magento 2 -
    $149 first year

    Product updates and support service subscription — included the first year
    Price to be paid today -
    $149 first year

    Subscription for the following year — $95 / Year



  1. $259 first year
    then $159 / Year GDPR for Magento 2 -
    $259 first year

    Product updates and support service subscription — included the first year
    Price to be paid today -
    $259 first year

    Subscription for the following year — $159 / Year
  • Privacy policy
  • Multiple consent checkboxes
  • Consents and activity logs
  • Access to personal data
  • Account deletion
  • Automatic deletion
  • Anonymization
  • Recent documents support
  • Opt-out option
  • Data portability
  • Notifications upon changes in policy
  1. then $159 / Year GDPR for Magento 2 -
    $259 first year

    Product updates and support service subscription — included the first year
    Price to be paid today -
    $259 first year

    Subscription for the following year — $159 / Year

GDPR Premium


  1. $349 first year
    then $215 / Year GDPR Premium for Magento 2 -
    $349 first year

    Product updates and support service subscription — included the first year
    Price to be paid today -
    $349 first year

    Subscription for the following year — $215 / Year
  • A new all-in-one cookie bar
  • Cookie consents report
  • Consent log export

Advanced cookie bar options

Customize Cookie Groups position

Use the ‘Sort Order’ field during the cookie groups configuration to adjust the order for groups display in the cookie bar. Place the essential cookie group higher or lower depending on preference, and draw customers’ attention to any other group to obtain more consents.

NEW | Replace IP addresses for debug mode

With the new debug mode, you can save time and test particular cases much faster. After enabling the IP forcing, it becomes possible to set a specific IP address that will be used instead of the visitor's real IP address when determining geolocation. The feature can be useful if you configure the cookie and privacy policy bars for various countries separately, as you can test the display for specific IP addresses in a blink of an eye.

Hide the bar if no decision was taken

In some cases, shoppers prefer just to ignore the bar. You are free to hide the bar from the same customer on new pages if no decision concerning cookie usage was taken. Thus, the shopper will be less distracted from purchasing.

NEW | Inform users about the changes in cookies

When you make any changes in cookies or cookie groups, the Magento 2 cookie manager will reappear with actual information. Customers will see a cookie bar again if you change:

  • cookie group information or cookie information (including description, lifetime, provider, etc .);
  • the statuses of particular cookies and cookie groups;
  • cookies that have been reassigned between groups.

NEW | Block 3rd-party cookies

Control third-party cookies added on your frontend by JS component. Use JavaScript and PHP APIs to block any cookies in your store and make all 3rd-party scripts GDPR-compliant. Implement a synchronous or asynchronous approach to match GDPR Cookie JS logic and a custom JS logic. Find out more in our user guide. Find out more in our user guide.

Show cookie bar according to location

You can now show a cookie popup for customers from particular countries only, e.g. to those that are affected by GDPR. The extension automatically detects visitors’ location and limits cookie settings visibility. Thus, allowing you to collect only relevant consents without impacting shoppers from other countries.

More features for Magento cookie consent

  • Clean consent log automatically after a certain period
  • Hide the bar if no decision was taken to let customers proceed to the shopping
  • Show cookie bar to customers from specific countries via geotargeting
  • Use a new color picker to customize the bar style

Need support for Amasty extensions purchased before Feb 1, 2022?

Read our subscription guide and learn how to get a 60% discount on Amasty support service, what benefits you get by activating your subscription to Amasty extensions before Aug 1, 2022, and what comes after the grace period.


To enable GDPR cookie notice in Magento 2, install and configure this extension. For your cookie notification, you will be able to choose between classic bar, sidebar, and popup. Also, you can customize its frontend view to make it compatible with your theme.

magento 2 gdpr cookie notice
Adobe partner logo
Magento Marketplace logo
See 216+ verified reviews
1 Single points of sales
Trusted by Customers
Are Amasty extensions compatible with all themes and extensions by other vendors?
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Will I get free support and updates?
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Do you have the installation service?
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Can I test an Amasty extension on a staging site before transferring it to a live one?
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
How can I get a refund?
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
How can I receive a discount?
We are now working at a new loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay...
How to update a Magento 2 Amasty extension?
To update a Magento 2 extension by manual upload:1. log in to the customer account;2. navigate to the Products tab, scroll to the packages section, and click the Download link next to the extension that should be updated;3. Important: If some extension...
If I need additional features to be added to an Amasty extension, how can I ask for it?
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Magento 2 Amasty extensions installation
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
How can I prolong support?
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Can I change the EE extension to CE for free?
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
How can I get a discount to re-purchase plugins?
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
Customer Reviews

Are you looking to add specific functionality for this extension or want to acquire a reliable development partner altogether? With custom development services by Amasty, you will receive high quality and cost-effective solutions developed by Magento professionals according to industry’s best practices.

Request a Quote

Submit this form now and we will get back to you promptly!

What feature your extension lacks?

Make sure that all your extensions purchased before Feb 1, 2022, are compatible with the new versions of Magento, equipped with the latest features and covered with technical support.

Get 60% OFF by activating your subscription right now. Grace Period offer is available until Aug 1, 2022.

Learn more →

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

Version 2.8.3
Last Update: May 23, 2022
2.8.3 - May 23, 2022
  • Improvement we added translation of module content in German. Cookies sample file can be found in the user guide
  • Fix now accepted cookies information saving correctly on Cookie Consents log
2.8.2 - May 05, 2022
  • Compatibility now the extension is fully compatible with Magento 2.4.4, 2.4.3-p2, 2.3.7-p3
2.8.1 - Apr 18, 2022
  • Fix we solved the problem with customers logging into accounts
  • Fix we corrected the behavior of setting marketing cookies
2.8.0 - Mar 24, 2022
  • New now the extension complies with WCAG requirements
  • New now the Amasty GDPR Premium comes with the option that allows you to export data from Consents Log
  • New we added new ‘Upgraded’ pop-up in Premium tariff, so now your customers will be able to find all information about cookies in one window
  • New we supplemented the ‘Cookie content log’ in the Amasty GDPR Premium tariff by adding statistics of accepted and rejected cookies
  • Improvement we added the ability to set the order of the Сookie bar buttons
  • Compatibility we improved compatibility issue with the Custom Stock Status module
Version 2.7.1
Last Update: Jan 04, 2022
2.7.1 - Jan 04, 2022
  • Compatibility we made the module compatible with Amasty Store Pickup with Locator
2.7.0 - Sep 09, 2021
  • New now the extension includes new functionality that lets you record and collect each cookie сonsent given by guest users
  • Fix we fixed the issue with the success message display that appeared when switching to another page only
  • Fix we resolved the problem with cookie decline when the cookie bar was not displayed according to the 'Countries Restrictment' setting
Version 2.6.1
Last Update: Jul 27, 2021
2.6.1 - Jul 27, 2021
  • Fix we corrected the popup display on mobiles
  • Fix we resolved the problem with the popup opening on the second click on the ‘Cookie Settings’ footer link
  • Fix we fixed the issue that occurred when opening the ‘Read Cookie Policy’ popup
2.6.0 - Apr 20, 2021
  • New we developed JavaScript and PHP APIs to let you block cookies added on your frontend by JS component
  • Improvement we enhanced the work of a cookie banner, so when you update cookies or cookie groups, a cookie banner reappears with actual information
  • Fix we resolved the problem with cookie values when accepting the cookies via pop-up
  • Fix we fixed the issue with appearing of cookie banner when countries restriction is set to EEA countries
Version 2.5.2
Last Update: Mar 03, 2021
2.5.2 - Mar 03, 2021
  • Fix we fix the error occurred in upgrading from version 2.2.0
  • Fix we resolved the problem with cookie bar size for mobiles
2.5.1 - Feb 01, 2021
  • Fix we fixed the issue with Amasty Cookie Settings widget
2.5.0 - Jan 26, 2021
  • New we added a new Decline button to a cookie bar to let your customers decline at once all cookies except the essential ones
  • New we added Sort Order field for cookie groups, so you can change the position of cookie groups in a cookie bar
  • Improvement we updated the behavior of a cookie bar to avert issues with Google Analytics tracking
  • Fix we resolved the issue with accepting all cookies via Classic cookie bar
Version 2.4.0
Last Update: Dec 21, 2020
2.4.0 - Dec 21, 2020
  • Improvement we changed data structure to enhance work with entities and improved quality of code
  • Compatibility now the extension is compatible with Magento 2.3.5+ and 2.4
Version 2.3.0
Last Update: Nov 23, 2020
2.3.0 - Nov 23, 2020
  • Improvement we added a new setting to Pop Up section, so you can change its Policy Text Color
  • Improvement we enhanced the work of Cookie Lifetime option to let you edit cookie lifetime on store view level
  • Fix we fixed the issue occurred with empty Notification Text for cookie bar
Version 2.2.0
Last Update: Nov 12, 2020
2.2.0 - Nov 12, 2020
  • New we added separate columns ‘Provider’ and ‘Type’ to cookie banner for cookie information to be more precise
  • New we developed a new cookie bar type to let you show cookie information using a popup located in the centre. Moreover, new settings for all cookie bar types were added, so you can adjust their style according to your store needs
  • Improvement we enhanced the work of cookie information section, so you can read it with pop up on the same page
  • Improvement now you can store cookies and cookie groups on store view level
  • Compatibility now the extension is compatible with Amasty Jet Theme
Version 2.1.1
Last Update: Aug 12, 2020
2.1.1 - Aug 12, 2020
  • Fix we fixed the parameter type in_array () issue
2.1.0 - Jul 22, 2020
  • New now the extension includes a new option that lets you adjust the visibility of Cookie Policy Bar on frontend according to the location of your customers
Version 2.0.7
Last Update: Jul 14, 2020
2.0.7 - Jul 14, 2020
  • Fix we fixed the error appeared in the console when a cookie policy bar is disabled
  • Fix we resolved the performance issue of a Cookie Settings page
2.0.6 - Jun 29, 2020
  • Fix we fixed the issue with popup closing when the cookie wall is disabled on Magento 2.3.5
2.0.5 - Jun 02, 2020
  • Improvement we disabled deleting cookies from the ‘Essential’ cookie group and made the cookie ‘section_data_ids’ added to the ‘Essential’ cookie group by default. The modification resolves the issue with the cart updating when cookies aren’t allowed. The cookie ‘section_data_ids’ will stay at the same group after upgrading, however, we recommend you to move it to the ‘Essential’ cookie group
2.0.4 - May 25, 2020
  • Improvement we updated a Cookie Policy Bar display to correspond to UI tendencies
  • Fix we fixed the processing of Essential cookies
2.0.3 - Apr 23, 2020
  • Fix we fixed the issue with the absence of cookies metadata in cookies deletion
2.0.2 - Apr 07, 2020
  • Fix we fixed the process of cookie removing
  • Fix we fixed the issue with showing mage-messages errors after unsuccessful login
  • Fix we fixed the caching of cookie settings page
2.0.1 - Mar 31, 2020
  • Fix we fixed disabling of Google Analytics Cookies added by GTM
2.0.0 - Feb 18, 2020
  • New Introducing the new cookie bar style. Now the cookie bar can be displayed as a popup with switches on it. Customer will be able to manage cookie groups right from the popup
  • New We added a cookie lifetime column to the grid with cookie details. PLEASE FILL RELEVANT LIFETIME VALUE FOR EACH COOKIE (navigate to Customers > Cookies)
  • New we added the feature for automatic log cleaning of the records that were stored for the set period of time
  • Improvement we added visual improvements and changes to the admin area
  • Improvement now it is possible to set the color of the buttons separately for each button on the pop-up
  • Improvement we added conditions for more strict disable custom cookies added by js
  • Fix we solved the problem with editing cookie consent settings for store views
Version 1.1.4
Last Update: Jan 27, 2020
1.1.4 - Jan 27, 2020
  • Fix we resolved the problem with flushing the entire cache after "Allow cookies" action
1.1.3 - Dec 11, 2019
  • Improvement we improved the extension's operation with Google Analytics cookies. Before the current update, there could be situations when GA tracked customers with turned off analytics cookies
1.1.2 - Oct 28, 2019
  • Fix we solved the problem with ACL on cookie consent bar
  • Fix we solved thr problem with updating cookie consent description for store views
1.1.1 - Sep 24, 2019
  • Fix we resolved the problem with block rendering on ajax
1.1.0 - Sep 16, 2019
  • New we added a new option that allows you not to show the cookie policy bar on every page if a customer ignores the cookie bar on the landing page. Thus the customer is less distracted from purchasing
  • Fix we solved the problem with cookie bar position
Version 1.0.5
Last Update: Jul 04, 2019
1.0.5 - Jul 04, 2019
  • Improvement we added the field with allowed URLs for the feature that disallows customer interaction with the website before accepting the cookie policy. Thus some pages could be accessible for customers
1.0.4 - Jun 11, 2019
  • Fix the issue with text color of Cookie Policy Bar affected to other text in Magento was resolved
1.0.3 - Apr 30, 2019
  • Fix the problem with install data was resolved
1.0.2 - Apr 09, 2019
  • Fix the possible issue with displaying the cookie bar on the Cookie Settings page was resolved
1.0.1 - Mar 26, 2019
  • Fix the possible issue after setup:upgrade was resolved

Ratings & Reviews

93% of 100
© 2009-2022 Amasty. All Rights Reserved.