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

The Future of E-Commerce: 4 Powerful Benefits of Decentralized Payment Systems

Now that the global e-commerce sector has taken off in earnest, there’s an even greater…

3 days ago

How Fintech Is Empowering Investing: 7 Smarter Tools Al Sollami Recommends for Safer Portfolios

In the fast-moving world of digital finance, fintech has gone from a buzzword to a…

3 days ago

PathSocial’s Impact: Enhancing eCommerce Platforms with Social Media Growth Tools in 2025

The success of eCommerce companies relies heavily on social media platforms which let them attract…

4 days ago

7 Powerful Tips to Choose a Salesforce Custom App Development Company for Your Business

In today's highly digital world, the rivalry between companies is getting fiercer, as is their…

4 days ago

Revolutionizing Online Reservations: Powerful Ways AI-Powered Booking Transforms E-Commerce in 2025

You know that feeling when you’re trying to book something online, and it’s a total…

6 days ago

5 Essential Steps to Build an Appealing Online Storefront for Your Startup

The recent global e-commerce boom has made the industry an appealing arena for new entrepreneurs…

6 days ago