The EU Data Protection Body has ruled that cookie walls (where you have to agree to the collection of cookies to access the site)
is NOT consent.
More reason to ditch Google Analytics and either not add analytics tracking or go with something like Plausible.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!