Europe’s top court rules tracking cookies need active consent

As part of a case between consumer groups in Germany and the website Planet49, Europe’s top court has ruled that pre-checked consent boxes, or assumed consent, for analytics and tracking cookies are not legally valid - in any circumstances and violate the GDPR and ePrivacy Directive.
Source