I wouldn’t be surprised if the sales teams at Google, criteo etc told them to do so off the record.
Every time I see the banner I think is it really necessary to visit the website? So I’m also quite happy about this move by GitHub.
https://docs.github.com/en/free-pro-team@latest/github/site-...
My point is that you're moving the goalposts. Law enforcement generally always requires a complaint that justifies an investigation, and people and organisations get away with breaking the law all the time. However that has nothing to do with whether or not GitHub put their website behind a "consent" wall, or whether or not they're doing in-house as opposed to contracted-out analytics.
There is, but it is so in any law, because laws can't be specified as precisely as computer code, and an attempt to do so would make them so rigid as to be unenforceable, and hence ignored. But it seems that companies aren't even trying to use this wiggle room, just ignoring it or plastering the damned cookie banners, so I think that it's a good thing for future privacy-oriented laws—when given even the most generous possible leeway, businesses would still rather track their users than attempt to colour within the lines.
Or sell your data to interested parties. Maybe if you liked certain GitHub repos, you are more likely to vote Democrat or whatever.
They are like CA Prop 65 lead warnings: useless spam that everyone ignores.
I came to the conclusion myself. I personally see no real need for laws like GDPR and see humanity dealing with cookie banners every day and lost ability for websites to be profitable as pure negatives.
In reality, the idea was to make people aware that they are being tracked across the web and and give them options and somehow everyone pretended that "No tracking, no banners" is not an option.
I am so glad that GitHub is coming forward and point out the elephant in the room: You don't need cookie banners or tracking consent forms if there's nothing to consent.