How To Manage Cookies Policy Magento 2

In this tutorial, I will show you how to manage cookies policy in Magento 2.

As you may know, cookies are the small text file which your website place in customer’s devices. They are used to identify a certain customer and bring them a better experience. Cookies allow your online store to remember which customers have in their shopping cart.

It is also used to keep customers logged into your website. Moreover, it helps you to collect information and statistic from your customers.

If you are running a website, it is certainly using cookies. This function is to analyze customer’s behavior & numbers through such a tool as Google analytics.

According to the policy since 26th May 2012, you should turn on the Magento cookies notice on your website. In other words, you should display a warning message about the cookies used on your website.

This feature is namely cookie restriction mode.

To enable cookie restriction mode, please follow these steps:

1. Go to the Magento 2 Admin Panel > Store > Configuration

2. In the configuration, please open General > The Web> Default Cookie Settings

3. Expand the Session Cookie Management field set. In the Cookie Restriction Mode field select

To save the changes click the “Save Config” button.

4. Finally, you need to clear the cache by going to cache management > select all > refresh > submit.

—-

Related Extensions you may interested in

 

Alena Dao

“Good marketing makes the company look smart. Great marketing makes the customer feel smart.”

Recent Posts

Why Web Design and Web Development Are Critical for Business Growth and Success

Websites are the cornerstone of any modern enterprise because they are the primary means by…

2 days ago

How Rule Fatigue Silently Destroys Ecommerce and Causes Account Failures in Prop Trading

Not all e-commerce businesses fail dramatically. Many don’t collapse due to a single major mistake,…

6 days ago

Power Up E-commerce Growth with Custom AI Development Studios in 2026

AI Development Studio solutions are rapidly becoming a core driver of modern e-commerce success. Online…

6 days ago

How GPU Cloud Server Technology Is Transforming Magento 2 & eCommerce Performance

Modern eCommerce businesses are no longer driven only by attractive storefronts or basic hosting solutions.…

6 days ago

10 Powerful Web App Development Types: Which One Is Right for Your Business?

There is a wide variety of web apps to choose from when deciding on which…

7 days ago

Smart AI Tools That Are Transforming How Developers Handle Documentation

AI tools are transforming how developers handle documentation and every developer knows the feeling. You're…

2 weeks ago