Offloads select JavaScript execution to a Web Worker to reduce work on the main thread and improve the Interaction to Next Paint (INP) metric.
As of April 2026, Web Worker Offloading is a WordPress analytics plugin with 20K+ active installations and a 3/5 rating from 3 reviews. It has been downloaded 78K+ times in total. Requires WordPress 6.6+ and PHP 7.2+. Available on WordPress.org since 2024. Recently updated within the last 3 months. Downloads are down 18% this week. Top alternative: Site Kit by Google – Analytics, Search….
This plugin offloads JavaScript execution to a Web Worker, improving performance by freeing up the main thread. This should translate into improved Interaction to Next Paint (INP) scores.
⚠ This functionality is experimental, and it is now intended to be sunset. ⚠
In order to opt in a script to be loaded in a worker, simply add worker script data to a registered script. For example,
if you have a script registered with the handle of foo, opt-in to offload it to a web worker by doing:
wp_script_add_data( 'foo', 'worker', true );
Unlike with the script loading strategies (async/defer), any inline before/after scripts associated with the worker-offloaded registered script will also be offloaded to the worker, whereas with the script strategies an inline after script would block the script f…
thank you, this is amazing. i had problem with google tag manager and analytics. i used this + site kit plugin and my performance went from 70 to 99. if you wanna setup tag manager/analytics manually, you should add type=”text/partytown” to the script tag. like: <script type="text/partytown"> tag manager code </script>
and it works like a charm!
I uploaded and activated. I assume that as the plugin details state that rankmath is integrated (rankmath has the option to load analytics locally- if i recall- which may affect it), that i didnt actually have to do anthing.
However my gt metrix score deccreased, when i deactivated it went back up.
So, at this point i cannot try on complicated site (buddypress, bb forum, geo directory, etc)- which is a pity as mobile is really getting hit with google analytics, tag etc- its the reason i took google ads off- it slows everyting way down.
Anyway, just letting you know. Will keep an eye on this. It would be really helpful if there was more docs (we arent all developers)so we could think it through a bit more.
Thanks Kenny
Problems with Google Analytics and Google Tag Manager
Tested: 1 week.
While Enabled:
No hits, no recorded live users/users in Google Analytics.
Google Tag Manager also didnt get to connect to the site.
– Clarity did record users live, and page hits. This is because Clarity is not included in the built-in integration
While disabled:
Google Analytics got hits right away – same with Google Tag Manager.
| WordPress | 6.6+ requiredTested up to 7.0 |
| PHP | 7.2+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.