Taming the Speed Impact of 3rd-Party Tags — Andy Davies — We Love Speed 2023
summary
Shows concrete fixes: self-host fonts cuts first-render by ~0.1s (about a 20% uplift), moving slow widgets off the head and into interaction or onload frees the main thread, and trimming GTM flags (disable unnecessary document.write support) shrinks long tasks. Replacing client calls with server-side tagging or running scripts in workers reduces third-party network and CPU contention. Early prototypes of PartyTown and edge-based consent look promising but are not yet drop-in; one retailer disabled a slow audio tag, gained 4s and +26% Android revenue (~£5M/yr).
AI-written summary · about
chapters (14)
- 0:00Introduction and speaker background
- 1:07Challenges third-party tags create
- 3:40Balancing tag benefits and drawbacks
- 8:16Early page load impact of tags
- 10:06Hosting static assets locally
- 13:19Consent manager performance impact
- 17:10A/B testing and consent decisions
- 20:03Delaying non-critical tags
- 22:16Tag importance and urgency classification
- 25:08Executing tags outside the main thread
- 27:17Measuring third-party performance
- 31:10Case study optimizing a live site
- 35:22Key takeaways for tag management
- 38:11Q&A session
