FlowConsent
ServicesBlogExtensionSolutionsPricingTry FlowConsent
FlowConsent

FlowConsent is a GDPR-compliant cookie consent management platform.

Product

  • Services
  • Extension
  • Extension support
  • Solutions
  • Pricing
  • FlowConsent App

Legal

  • Privacy Policy
  • Terms of Service
  • Legal notice

© 2026 FlowConsent by BeBranded. All rights reserved.

FrancaisDeutschEspanol

Does your website use third-party services? Get GDPR compliant in minutes.

Try FlowConsent
  1. Home
  2. Services
  3. Analytics
  4. Partytown

Partytown

AnalyticsWebsite

Related services

34SP.com

34SP.com is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. 34SP.com supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, 34SP.com enables informed decisions that improve experience and drive results.

Analytics
5

51.LA

51.LA is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. 51.LA supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, 51.LA enables informed decisions that improve experience and drive results.

Analytics

52Degrees

52Degrees is an analytics and measurement platform providing deep insights into digital ecosystem performance. It tracks user interactions, measures campaign effectiveness, and identifies optimization opportunities across web and mobile. 52Degrees offers customizable dashboards, automated alerts, and data export capabilities. By transforming raw data into actionable intelligence, 52Degrees empowers organizations to optimize strategy and maximize return on investment.

Analytics
A

a3 Lazy Load

a3 Lazy Load is a comprehensive e-commerce platform that provides businesses with all the tools needed to build, manage, and grow an online store. From product catalog management and secure payment processing to inventory tracking and order fulfillment, a3 Lazy Load delivers a complete commerce solution. It features responsive storefront themes, SEO-optimized product pages, and powerful marketing tools to help merchants increase visibility and drive sales across channels.

Analytics
A

Able CDP

Able CDP is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. Able CDP supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, Able CDP enables informed decisions that improve experience and drive results.

Analytics
A

Abralytics

Abralytics is an analytics and measurement platform providing deep insights into digital ecosystem performance. It tracks user interactions, measures campaign effectiveness, and identifies optimization opportunities across web and mobile. Abralytics offers customizable dashboards, automated alerts, and data export capabilities. By transforming raw data into actionable intelligence, Abralytics empowers organizations to optimize strategy and maximize return on investment.

Analytics
Get compliant — Try FlowConsent free

Free plan · 10-min setup

What does Partytown do?

Partytown is an open source library by Builder.io that runs third party scripts (analytics, ad pixels, tag managers) inside a web worker so they no longer block the main thread. It improves Core Web Vitals dramatically but does not change the GDPR position of the scripts it wraps. Consent obligations under ePrivacy and the GDPR remain attached to the underlying scripts. Treat Partytown as a performance optimisation, not a privacy tool.

What is Partytown?

Partytown is an open source library maintained by Builder.io. It moves third party scripts (Google Analytics, Google Tag Manager, Meta Pixel, TikTok Pixel, Hotjar, etc.) from the main JavaScript thread into a web worker, sharply reducing their impact on Core Web Vitals. Developers integrate Partytown into Next.js, Astro, Nuxt, Hugo and many other frameworks.

Common misconception: Partytown is not a privacy tool

Partytown is sometimes presented as a way to make analytics or ad pixels GDPR compliant. This is incorrect. Partytown only changes the JavaScript execution context. The wrapped scripts still set cookies, still read browser identifiers and still send the same payloads to their respective vendors. Consent obligations remain attached to those scripts.

GDPR and ePrivacy implications

Article 5(3) of the ePrivacy Directive applies to any access to information stored on the user''s device. A script running in a web worker still triggers cookie reads and writes, so consent is required. The GDPR lawful basis for the wrapped scripts is also unchanged: Partytown does not transform GA4 from a consent based tracker into a legitimate interest tracker.

Get GDPR compliant in 10 minutes

Free plan available · No credit card required

Try FlowConsent free

Integration with a Consent Management Platform

Configure your CMP to gate the loading of Partytown wrapped scripts in the same way you would gate them when loaded directly. Partytown supports lazy script injection so that GA4 or the Meta Pixel only loads after the user grants the relevant consent category. Use the partytown reverseProxy or forward configuration to keep first party hosting where possible.

Practical compliance steps

Self host Partytown on your own origin to avoid extra third party connections, gate the wrapped scripts behind your CMP, document Partytown as a performance technique in your privacy policy without claiming compliance benefits, and apply the same DPIA, retention and transfer analysis to the wrapped scripts as you would for direct deployment.

GDPR consent category

Analytics

Websites using Partytown must obtain user consent under GDPR regulations.

Legal basisPartytown inherits the legal basis of the scripts it executes. Consent (Art. 6(1)(a) GDPR and Art. 5(3) ePrivacy Directive) is required when wrapping advertising, analytics or any non strictly necessary tracker. Partytown does not change the consent obligation, it changes only where the script runs.
Risk levelmedium
Applicable regulationsGDPR, ePrivacy Directive, regional consent laws applicable to the wrapped scripts

DPIA considerations

Partytown itself adds no DPIA trigger because it processes no data. The DPIA obligation is determined by the underlying tracking scripts. If Partytown is used to wrap GA4, Meta Pixel or other high risk advertising tags, those individual services drive the DPIA assessment.

Sample consent text

This site uses Partytown to run third party analytics and advertising scripts in a web worker for performance reasons. The underlying scripts (named below) still process your browser data and require your consent. Partytown only changes where these scripts run, not what they collect.

Technical details

Tracking methodOpen source library by Builder.io that relocates third party scripts (analytics, ad pixels, tag managers) into a web worker so they run off the main thread. Partytown itself does not collect data, it sandboxes other vendors. Cookie and tracking behaviour is fully determined by the wrapped scripts.
Server locationNo server side processing. Partytown is loaded as static assets, ideally self hosted on the website's own origin or its CDN. The maintainer Builder.io is a US company.
Cookieless tracking availableYes
Data transferred outside the EUPartytown itself does not transfer data, but the scripts it wraps (Google Analytics, Meta Pixel, GTM, etc.) typically transfer data to the United States. The transfer compliance position is identical to running those scripts directly.

Third-party domains contacted

cdn.jsdelivr.netunpkg.compartytown.builder.io

Cookies placed

NameTypeDurationPurpose
No cookiesnonen/aPartytown is a JavaScript library that relocates third party scripts to a web worker. It does not set its own cookies. Cookies set by the relocated third party scripts (analytics, ads, chat) keep their original behaviour and are subject to the same consent rules as if they ran on the main thread.

Partytown collects user analytics data — you legally need a consent banner. Try FlowConsent free.

Get started freeScan your site

Frequently asked questions

Does Partytown set its own cookies?

No. Partytown is a JavaScript runtime helper. It does not collect data, does not contact a server and does not set cookies of its own. Any cookies you observe come from the third party scripts you wrap (GA4, Meta Pixel, GTM, etc.).

Is consent required when using Partytown?

Yes when the wrapped scripts require it. Partytown does not change the consent obligation, only the execution context. If you wrap GA4, Meta Pixel or any advertising tracker, Article 5(3) ePrivacy still requires prior consent.

What is the legal basis for Partytown itself?

Partytown is a static client side library, so it does not require its own legal basis under GDPR. The lawful basis question applies to the scripts it wraps, not to Partytown.

Does Partytown affect international data transfers?

No. Partytown changes only the JavaScript thread. The wrapped scripts continue to send the same payloads to the same vendors in the same locations. If GA4 transfers to the United States, that does not change because Partytown wraps it.

Do I need a DPIA for Partytown?

Not for Partytown itself. The DPIA depends entirely on the wrapped scripts. If you wrap a high risk advertising tracker, run a DPIA on that tracker.

How do I implement Partytown compliantly?

Self host the Partytown library on your own origin, gate the wrapped scripts behind a CMP, document Partytown as a performance optimisation in your privacy policy, and ensure your CMP loads the actual tracking scripts only after consent.

Is Partytown an alternative to consent management?

No. It is complementary. Partytown improves Core Web Vitals; a CMP handles consent. You typically deploy both: the CMP gates whether scripts load, Partytown decides where they execute.

How do I update my cookie policy for Partytown?

Mention Partytown briefly as a web worker library used for performance and clarify that it does not collect data. List the actual third party scripts (GA4, Meta Pixel, GTM, etc.) wrapped through Partytown with their cookies, retention and transfers.