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

When To Use Advanced Product Sliders To Boost Your Website Conversions?

Increasing conversions is essential for the success of your online store in the cutthroat world…

4 hours ago

How to Launch Your First Automated Webinar in 6 Easy Steps

Imagine hosting a webinar that runs automatically, working for you 24/7, even when you're asleep.…

2 days ago

eCommerce SEO: 4 Powerful Tips for In-House vs. Outsourcing

Pretty much every business, especially in eCommerce, has an online presence. Consumers tend to hit…

4 days ago

Magento 2 AI Voice Changer Integration: Boost Customer Engagement with This Powerful Feature

In today’s competitive e-commerce landscape, Magento 2 stores are continually evolving to meet customer expectations…

5 days ago

The Anatomy Of A Perfect Product Page: 6 Ecommerce Design Tips For 2025

If you’re reading this, you already know that your product page isn’t just a page.…

1 week ago

How Lucky Draw Plugins Help You Collect Leads And Build Brand Loyalty In 2025?

Ever heard of lucky draw plugins for WooCommerce? You will hear it more after knowing…

1 week ago