The decision to force service providers collect consent from their own users is a political decision.
And a fundamentally bad one: providers' incentive is to make it easy to get consent and hard to refuse.
I don't know what policy is better than this, but right now, we only get more annoyance without any benefits in privacy. Pretty much every page I've visited issues 3rd party requests before I consent to data sharing.
A solution to a poliical problem is political, not technical.