Earlier quoted context omitted.
Requiring extraneous consent as a precondition of service, that is, requiring consent for some processing as a precondition of provision of a service that does not depend on that processing is an indication that consent is coerced rather than freely given, and hence not effective consent, under the GDPR. But if the service does depend on that processing, then you don't need to ask for consent at all, so why would you…
You still need to ask for consent.
https://ico.org.uk/for-organisations/guide-to-the-general-da...