As long as you're not spying on your users or stealing their data.
Simple as that.
For example:
See any consent banners? No? Just guess why.
You actually don't, if you don't do any activity that calls for consent.
But this is I think the "big lie" of the GDPR folks - no banners needed, when even the EU itself and its agencies etc all use it.
So you expect random joe blow website to overthink this even further, go against what they see the EU itself doing? It's total garbage.
There are two links to the cookie page (https://europa.eu/european-union/abouteuropa/cookies_en or equivalent for the currently used language), one in the top nav bar, one in the bottom. Interestingly, that page talks about the cookie banner and how they need consent for analytics and stuff, but I never saw that.
So, given how they explicitly state that they need it for analytics, I went to my browser settings and disabled sending the DNT header - and there was the cookie consent popup.
So: State outright and by default that you don't want to be analyzed and they won't bother you.
My only question is why they see a need to do analytics. Without that they wouldn't require that stuff _at all_.
this is certainaly debatable
in every subject I'm a... subject matter expert in: it's been pretty bad
Today I hit for the first time a site that made it as easy to Accept or Reject startrek.com also many sites now offer option to delete my account and even JS APIs for tracking now have options for GDPR to not store private data. So YES things improved but are not perfect, to blame is not the law but the jerks.
Browser vendors tried to establish such a standard but it pretty much died when Microsoft enabled it by default for IE9 and some ad brokers began to claim that they can now ignore DNT because it doesn't actually reflect user intent anymore. (see https://www.theregister.com/2015/04/03/microsoft_reverses_ie...)
With that it became deprecated. Thank you, Microsoft and Yahoo.
The general sentiment seems to be that "if you want it, you want it, and who would want it explictly off?"
Under GDPR you MUST pop-up consent requests with explicit consent.
Luckily at least the EU website now does them at the bottom rather than the top.
https://europa.eu/european-union/index_en
for an example that is a bit less annoying - the EU website used to do a blocking top banner that was super annoying back when GDPR was being taken seriously, now they just bury it (like lots of others do).