partytown

The premium Open Source alternative to Cloudflare Zaraz

🎯 Best for:Websites with heavy third-party scripts (GTM, Intercom, Ads).

What is partytown?

A library that replaces traditional third-party script loading methods. It uses a proxy-based architecture to execute scripts in a background web worker, preventing main-thread blocking.

Tech Stack
TypeScriptFrontend & Headless CMS

Why partytown?

  • Improves Core Web Vitals
  • Offloads main thread
  • Framework agnostic

Limitations

  • DOM access overhead
  • Script compatibility issues
  • Debugging complexity
3/5/2026
Last Update
452
Forks
83
Issues
MIT
License
Financial Leak Detected

Stop the "SaaS Tax"

Your team could be burning cash. Switching to partytown instantly boosts your runway.

Competitor Cost
-$1,440
/ year (est. based on Cloudflare Zaraz)
Self-Hosted
$0
/ year
Team Size10 Users
150+
SAVE 100%

Community Discussion

Comments