

Enter the subdomain name in the “Cookie Domain” field to make the cookies available to a subdomain.


Enter a forward slash to make the cookies available anywhere on the site. Enter the “ Cookie Path” if you want to make cookies available to other folders.Enter the “ Cookie Lifetime” in seconds.Expand the “ Default Cookie Settings” section.Navigate to “ Stores > Settings > Configuration”.Method to Enable Cookie Restriction Mode in Magento 2 When a user accepts the cookie policy, it proceeds further in the store.įollow the below method to Enable Cookie Restriction Mode in Magento 2. The notification bar displays a cookie restriction message and contains a button “Allow Cookies” as shown below. Hence, the default Magento 2.4.x versions have introduced the feature to enable cookie restriction mode in Magento 2 store from the backend.Ĭookie Notice helps to implement cookie compliance in Magento 2 store. However, prior to using the customers’ data, it is mandatory to have their consent for the same.Īs per the EU’s GDPR, the websites need to have the consent of the users regarding the use of cookies and even allow them to deny using the cookies if they wish.Įven if your business does not fall under the European Union, asking users for permission to use cookies and notifying them about the privacy policy is not only an ethical practice but also helps win their trust and increase brand loyalty. Cookies are small text files stored in a web user’s browser directory or data folder that has user’s data like username, password, and browsing history.Ĭookies help store owners track the customers’ behaviour and hence enhance their on-site experience.
