User Tools

Site Tools



See the way the Cookie Consent (GDPR) for Magento 2 extension works.

Guide for Cookie Consent (GDPR) for Magento 2

Increase customers retention by giving them the opportunity to regulate their cookie usage. Implement a GDPR compliant cookie policy to your store with Cookie Consent extension for Magento 2.

  • Arrange cookies into essential and optional categories
  • Let customers choose which cookies they allow to process
  • Efficiently manage categories and cookies they include
  • Monitor all cookie consents and customers' data in one grid
  • Use a flexible design customization for your cookie policy bar

General Settings

To adjust you cookie policy settings, go to Stores → Configuration → Amasty Extensions → Cookie Consent.

Expand this tab to configure the basic setting of the extension.

Enable Cookie Policy Bar - set to No to disable Cookie Policy Bar or specify the type of the bar to be displayed:

  • Notification bar - choose this type to show an informative message only.
  • Confirmation bar - enable this bar to provide customers with the clickable options to choose from. The extension makes it possible to Allow Cookies or to visit Cookies Settings page right from the bar.
See how a confirmation bar is displayed on the frontend here.

Disallow a customer to interact with the website until the Cookie Policy is accepted? - set to Yes to give an access to the website only after the Cookie Policy is accepted.

Allowed Urls - if customers are disallowed to interact with the store, specify the URLs that the customers will be able visit. You can use a part of URL as per example: privacy-policy-cookie-restriction-mode. Each URL must be on a new line.

If you allow a Customer Interaction with the Website Until He Accepts or Declines Cookies, specify the additional bar setting:

Do Not Show Cookie Bar If No Decision Was Taken - if Yes, the cookie bar will not be displayed to a customer on new pages even though he doesn't accept or decline cookies. Thus, the customer will less distracted from purchasing.

Cookie Policy Text - specify the informative text of the Cookie Policy Bar.

You can use any HTML-tags in this field. Please, mind the security.

CMS page for cookie settings - define the page to place Cookie Settings tab. A separate ‘Cookie Settings’ page is set by default.

If changing to another CMS page, add “Amasty Cookie Settings” widget on it.

Expand this tab to choose the location for your cookie policy bar and customize its design.

Cookie Policy Bar Location - specify the position of the bar: Top or Footer.

With a handy color picker tool set the Cookie Policy Bar colors for the:

  • background
  • buttons
  • buttons text
  • text of the bar
  • links.

After all the changes don’t forget to Save Config.

To arrange cookies into essential and optional categories, go to Customers → Cookie Groups.

With the extension you can manage all your cookie categories in a handy grid.

On the grid the ID, Cookie Group Name and Description are displayed. Also you can see if each group Is Essential and Is Enabled.

To configure any group, click Edit in the Action column.

To delete several groups in one click, tick them and choose Delete option in the Actions dropdown menu.

To create a new category, click Add New Group.

Enabled - choose Yes to activate the group.

Is Essential - set to Yes to make the group obligatory. In this case the customers will have to allow this cookie group to get access to the website.

Cookie Group Name - specify the title of the cookie group that will be displayed to the customers on the frontend and on the grid in admin panel.

Description - fill in the information about the usage of the group so that the customers could decide whether to allow this group or not.

Assigned Cookies - select the cookies to include in the group.

See how to assign cookies to particular category here.

Save the configuration.

To manage cookies, go to Customers → Cookies.

With the extension you can easily track and sort all cookies on a separate grid by its ID, Name, Group and Description.

To view or change the configuration of a cookie, click Edit in the Action column.

To delete cookies, tick them and choose Delete option in the Actions dropdown menu.

To create a new cookie, hit the Add New Cookie button.

Cookie Name - specify the title of the cookie.

Description - fill in some information about the usage of the cookie.

Cookie Group - assign the cookie to a particular group.

To find the list of all consents and customers data, go to Customers → Cookie Consents.

You can find all needed info in one place. The grid allows to track consents by customer Name, Email, IP Address, Website, Consent Type, Date and Consent Status. This data can be useful for different consents analysis.

Frontend example

Make users give more consents with a user-friendly cookie policy bar. Customize the design of the bar to match your website style.

Let customers choose which cookie categories they allow to process.

Clarify to users which cookies each category includes.

The extension adds a ‘Cookie Settings’ link to the footer so that the customers can easily reset cookie usage conditions any time they need.

Prevent losing potential customers by making your site perform better with Google Page Speed Optimizer for Magento 2 extension.

Find out how to install the Cookie Consent for Magento 2 via Composer.

Rate the user guide
 stars  from 0 votes (Details)
magento_2/cookie_consent.txt · Last modified: 2019/09/24 10:08 by tihomirova