Why Your Marketing Scripts and Cookie Banners Are Ruining Your Lighthouse Scores

Presentation by Christopher Burns

Most marketing scripts and cookie banners run on the critical path. They block the main thread, delay first paint, and inject third-party code before the page is interactive.
Consent managers often make this worse by synchronously loading vendors, mutating the DOM repeatedly, and re-hydrating UI after page load. The result is slower LCP, higher TBT, and unstable CLS.

The fix is not fewer scripts, it is better orchestration. Treat consent as infrastructure, load vendors after intent, and keep compliance off the critical path.

Presented with these Guilds
1757 members

React Advanced London is a community organizing quarterly in-person events and an annual hybrid conference in October.

Engineers of all levels are welcome to join, our meetups are always free to attend and a great place to meet other likeminded people and share some insights about your work and experience from the stage.

Contact email: hi@reactadvanced.com

Want to give a talk at our next meetup? We welcome talk ranging from 5 to 20 min length on any topic related to React and/or React Native, submit them here and we'll be in touch https://forms.gle/rCiQ8Y4jajiC8AHMA

Venue proposal from: https://shorturl.at/FOT34

By joining this group you agree to comply to our Code of Conduct

Join

Guild

Get in touch!

hi@guild.host