They should get rid of the popups before starting other optimizations.
The real alternative is to not track at all. It's compliant, easy to implement, performant (the topic of the post) and does the right thing
No idea what that would do to any business value Airbnb gets from tracking, but the idea is that the lost analytics data is outweighed by the benefit of removing new user friction.
Cookie popups and third party JS are two of the biggest culprits for slow sites next to large images/videos and general bloat. Some of these tracking scripts and cookie popups require you to put them into the head. It’s terrible.
I always suggest my clients to simply remove them. Users are retained when the site loads and navigates fast. Spying on them doesn’t help…
Very large sites actually get leverage out of some analysis and tracking, however they should be doing that inhouse.
For everyone else it’s simply not worth it except that is your business model (not our clients).
[0] it’s called optimization, but it’s mostly just measuring, cleaning up, moving to standard practices and deleting alot of code. The times I get to optimize queries and algorithms are fun, impactful but rare. Most sites just suck because they are bloated and unpolished.
Perhaps the advice is good, but it would be like taking budgeting advice from a guy who's always borrowing money from you.