I mean that's the obvious solution, which for some reason most companies seem to forget about. I've done a number of projects where we had to rush a cookie banner, but with a lot of them, if they just did away with Google Analytics or click tracking or whatever, they wouldn't need any of it.