As per the GDPR and ePrivacy Directive, a website must ask for its users' consent to use cookies that are not necessary for accessing the website's functionality. These cookies need consent because they collect user data for their purposes. According to the law, collecting data without users' consent is unlawful. Apr 27, 2023