Cookie banners were the “broken window” that led to the whole car being demolished.
Cookie banners were the “broken window” that led to the whole car being demolished.
Banners, modal dialogs and other kinds of "new popups" in general are a bit tougher. Usually there is some element you could remove from the DOM tree or display: none but the trouble is knowing which element!
You can provide whatever the user wants to do. Recommendations? Sure. If you want them. The required data collection is then just.... Required. It is tied to this purpose though and can't be used e.g. for ads.
But it is not OK to collect everything about the user so you can charge more for ads or to sell ("exchange") that information. Which is in 99% of cases the reason for these banners.
Either you have no data and so no information to tune your recommendations or you have data in which case you needed to request for consent
IANAL, but worked through implementations that can work without banner consent.
I don't want to imply that it is easy or anything. It's pretty annoying, especially as the purpose of that data needs to be tightly tracked. But it is totally doable.
I think popup blockers turned back the tide for a while, but businesses eventually learned how to leverage dialogs for some of the same purposes. And, over time, that's been rolled up into WordPress plugins and other easy to implement solutions for one-off site owners, which makes them even more common.