Comment by chistev
I thought you only need to do that for tracking cookies?
If you have essential cookies that need to remember what a user saved to their shopping cart, if they want dark or light mode, their login session, do you need them to consent?
It's because all of these sites have stuff to track you and cookies is one of the ways you can do that.