How exactly do cookies work in the extension?

How exactly do cookies work in the extension?

Default Magento cookies are divided into 2 types - Essential and Non-Essential

Essential cookies do not require the user's consent for their work and are stored in the browser automatically, as they ensure the correct operation of the store from the technical side. They are always enabled, and the client cannot interact with them.

Non-Essential cookies, in turn, cannot be collected without the user's consent, so the extension blocks both Magento cookies and external scripts that run from the browser. In case the user declines these cookies, they won’t be set.

Out of the box, all Magento default cookies, as well as Google Analytics cookies are already defined as essential/non-essential in the Customers → Cookie Consent → Cookie Groups and are functioning depending on the user's consent.

Additionally, you may edit and add new cookies if you navigate to Customers → Cookie Consent → Cookies. There you may also assign cookies to the groups. 

Moreover, the extension also provides an opportunity to set 3-rd party custom cookies and block them as marketing cookie for clients. You may introduce compatibility with 3-rd party cookies following the steps from the User Guide

      • Related Articles

      • Can I add Google Analytics cookies to the essential group?

        Essential cookies are a site's basic form of memory, used to store the settings selected by a user on a given site. As the name implies, they are essential to a website's functionality and cannot be disabled by users. On that note, neither Marketing ...
      • Is it possible to set no cookies at all before any decision is taken?

        The Cookie Consent module allows blocking Magento marketing cookies and any third-party cookies that are present on the website. They will not be set until a customer allows them, and will be blocked if a customer chooses to. However, whether a ...
      • Where and for how long is the customers' consent stored?

        The extension allows and disallows cookies through creating separate 'amcookie_allowed' and 'amcookie_disallowed' cookies. These cookies function as regular cookies and are being stored for a year. They can be cleared together with the rest of the ...
      • Will the module block cookies added by Javascipt?

        The Cookie Consent extension can block cookies added through PHP/JS scripts; this improvement was added in ver. 2.6.0 of the Cookie Consent extension. You may refer to the User Guide to see the steps to implementing the compatibility. To ensure the ...
      • How to edit the text colour for the Cookie Consent bar?

        To modify the text color on the cookie bar, proceed to Stores → Configuration → Amasty Extensions → Cookie Consent and expand the Cookie Bar Customization section. Having selected the preferred Cookie Bar Style, adjust the color and transparency with ...
      • Announcements

      • Already Done in Q1'23

        Brand new extensions We launched a coming soon page for the new Back Forward Cache extension. It restores the recently visited page when the customer clicks 'Back' or 'Forward' browser options, thus ensuring faster page load speed. Subscribe to the release
      • Roadmap | What to expect in Q1'23

        New features and improvements Improved Layered Navigation generate SEO-friendly URLs for multi-select Category filter; better speed performance of the Apply filters button; improve Category list load time. Special Promotions Pro optimize data types in
      • Already Done in Q4'22

        New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
      • Roadmap | What to expect in Q4'22

        New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
      • Already done in Q3'22

        New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility