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

FlexClip: The Ultimate AI-Powered Video Editor for Easy and Stunning Creations in 2025

In the ever-evolving digital era, video content has become the most engaging form of communication—whether…

10 hours ago

Upskilling for the AI Era: What Skills Will Matter Most by 2030

AI Era marks the infinite game of the technology business. The future must be faster…

4 days ago

From Banking to Blockchain: How Fintech Apps Are Redefining Digital Transactions

Money and technology have always been connected, but the last decade has completely revolutionized how…

4 days ago

Top BI Trends in 2025 Every Data-Driven Leader Should Know

BI Trends in 2025 — Every business is driven by data, and they use data…

2 weeks ago

Why Magento 2 Integration Boosts Umbraco Development Efficiency

The pandemic brought a huge difference in consumer behavior, digital adoption, and online sales rate.…

2 weeks ago

The Essential Guide to Optimize Website Layouts for Superior Speed

To optimize website layouts effectively is one of the most crucial steps in enhancing site…

2 weeks ago