Do you need consent for first-party cookies?

In general, the use of first-party cookies requires consent if they are not considered strictly necessary for the functioning of the website. As per the provisions of the General Data Protection Regulation (GDPR) in the European Union, cookies that aren’t strictly necessary require consent.

Strictly necessary first-party cookies are typically used to improve the user experience on a website, such as remembering a user’s preferences or login details that are essential for the website to offer the product or service. However, first-party cookies, such as analytics cookies are not part of the functionality that the user requests and require explicit consent. 

The specific requirements for obtaining consent may vary depending on the privacy regulations of a country. However, it is recommended that businesses give users clear information about their use of cookies via a cookie banner and provide them with the option to disable cookies if they choose to.