Magento 2 GDPR Cookie Consent gives every customer visiting the website a choice regarding cookies. As soon as the customer visits the website, they get the option to accept or reject cookies. With Magento 2 GDPR Cookie Consent, the customer can decide which cookies to enable and which not. This maintains data transparency and also increases customer trust.
Check out more details at: https://webkul.com/blog/gdpr-magento2/