I previously reported an issue related to the automatic cookie categorization by CookieScript. We've observed that when we implement CookieScript on Magento websites, the functionality often interferes with key actions like Add to Cart and Checkout. These issues typically generate error messages such as “session not valid” or “form-key missing,” which disrupts the user experience.
After investigating, we found that the issue is caused by the automatic categorization of specific cookies. Currently, essential cookies like form-key, mage-cache-sessid, mage-cache-storage, mage-cache, storage-section-invalidation, and mage-messages are being categorized under "Functionality". However, for Magento sites to function properly, these cookies are critical and should ideally be classified under "Strictly Necessary".
Would it be possible for CookieScript to adjust its default categorization to automatically place these cookies under "Strictly Necessary" by default? This adjustment would prevent this issue from recurring for each new Magento implementation.