Shopify script loading attributes and the Core Web Vitals

29.9% of audited sites (2,463) still execute render-blocking synchronous scripts and drop to 95% good LCP (1.4s median), compared to 97% good LCP on sites using async (99.9%) and 97% on ES modules (99.5%).

Field data PhoneDesktopAll Scope All sites October 2026 edition · Desktop field outcomes · Shopify sites only
Shopify Scoped to 8,248 sites out of 203,892 analyzed (cms) Compare with all sites →

99.5% of Shopify sites use ES module scripts script loading strategy, and 97% of those sites have a good LCP, against 97% of all Shopify sites.

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,243 sites with script loading strategyBy Arjen Karel · corewebvitals.io/state-of-cwv
1

Core Web Vitals pass rate

Sites with ES module scripts script loading strategy have a good LCP most often: 97%, against 97% of all Shopify sites. Sites with render-blocking scripts script loading have it least often, at 95%.

SitesGood, needs improvement, poor LCPMedian
All Shopify sites3,81897%1.3s
ES module (<script type="module">) 99.5%3,79397%1.3s
Deferred (<script defer>) 99.6%3,79897%1.3s
Async (<script async>) 99.9%3,81797%1.3s
Inline <script> blocks 99.9%3,81697%1.3s
Dynamic / script-injected 32.1%1,46095%1.4s
Render-blocking (<script src>) 29.9%1,39595%1.4s
Legacy fallback (<script nomodule>) 0.3%1283%1.7s
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,243 sites with script loading strategyBy Arjen Karel · corewebvitals.io/state-of-cwv
2

Script loading strategy usage

Inline scripts is the most used: 99.9% of Shopify sites. ES module scripts is 99.5% of Shopify sites.

Sites using each option (sites can use more than one) 8,243 sites
Inline <script> blocks 99.9% Async (<script async>) 99.9% Deferred (<script defer>) 99.6% ES module (<script type="module">) 99.5%
Inline <script> blocks 99.9% Async (<script async>) 99.9% Deferred (<script defer>) 99.6% ES module (<script type="module">) 99.5% Dynamic / script-injected 32.1% Render-blocking (<script src>) 29.9% Legacy fallback (<script nomodule>) 0.3%
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,243 sites with script loading strategyBy Arjen Karel · corewebvitals.io/state-of-cwv
3

LCP phase breakdown by script loading attribute

Across the four LCP sub-parts in Chrome's field data, the largest gap between ES module scripts and render-blocking scripts sits in resource load delay: 630 ms median for ES module scripts against 741 ms for render-blocking scripts. Overall median field LCP is 1.3s for ES module scripts (TTFB 304 ms, load delay 630 ms, load duration 152 ms, render delay 304 ms) versus 1.4s for render-blocking scripts.

Median LCP phase breakdown (Chrome field p75) Load delay Median LCP
Shopify sites with script loading strategy 3,126305 ms630 ms304 ms630 mslab 620 ms1.3s
Deferred (<script defer>) 3,110304 ms630 ms304 ms630 mslab 620 ms1.3s
ES module (<script type="module">) 3,108304 ms630 ms304 ms630 mslab 620 ms1.3s
Inline <script> blocks 3,125305 ms630 ms304 ms630 mslab 620 ms1.3s
Async (<script async>) 3,126305 ms630 ms304 ms630 mslab 620 ms1.3s
Dynamic / script-injected 1,196316 ms717 ms343 ms717 mslab 711 ms1.4s
Render-blocking (<script src>) 1,191313 ms741 ms352 ms741 mslab 726 ms1.4s
TTFB Resource load delay Resource load time Element render delay
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,243 sites with script loading strategyBy Arjen Karel · corewebvitals.io/state-of-cwv
4

Script loading strategy per framework

Vue sets the script loading strategy to ES module scripts on 100% of its sites, and 97% of Vue sites have a good LCP, against 97% of all sites. jQuery sets the script loading strategy to inline scripts on 100% of its sites, and 95% of jQuery sites have a good LCP.

FrameworkScript loading strategy on its sitesGood LCP
Shopify sites with script loading strategy 8,243 sitesInline <script> blocks 100%Async (<script async>) 100%Deferred (<script defer>) 100%ES module (<script type="module">) 100%Dynamic / script-injected 32%Render-blocking (<script src>) 30%97%
Vue 933 sitesInline <script> blocks 100%ES module (<script type="module">) 100%Deferred (<script defer>) 100%Async (<script async>) 100%Dynamic / script-injected 38%Render-blocking (<script src>) 34%97%
jQuery 3,150 sitesInline <script> blocks 100%Async (<script async>) 100%Deferred (<script defer>) 100%ES module (<script type="module">) 99%Render-blocking (<script src>) 51%Dynamic / script-injected 49%95%
Inline <script> blocks Async (<script async>) Deferred (<script defer>) ES module (<script type="module">) Dynamic / script-injected Render-blocking (<script src>) Legacy fallback (<script nomodule>)
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,243 sites with script loading strategyBy Arjen Karel · corewebvitals.io/state-of-cwv
5

Script loading attributes or the framework

Does the framework explain the script loading strategy difference?

On jQuery, 95% of sites with ES module scripts script loading strategy have a good LCP, against 95% of jQuery sites with inline scripts. Within jQuery, sites with ES module scripts and inline scripts have a good LCP about equally often. On Vue, 97% of sites with ES module scripts script loading strategy have a good LCP, against 97% of Vue sites with inline scripts. Within Vue, sites with ES module scripts and inline scripts have a good LCP about equally often.

How synchronous blocking <script> tags halt the HTML parser before LCP

When the HTML parser hits a synchronous <script src> tag without async, defer, or type="module", it must pause DOM construction, wait for the network download, and execute the script before painting. Across 2,463 sites (29.9%) with render-blocking scripts, good LCP drops to 95% (1.4s median). Sites loading scripts with async (99.9%), defer (99.6%), or type="module" (99.5%) reach 97%, 97%, and 97% good LCP.

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,243 sites with script loading strategyBy Arjen Karel · corewebvitals.io/state-of-cwv
6

Understanding script loading attributes

Add defer or type="module" to all first-party application scripts and async to independent third-party tags so zero synchronous <script src> tags block the HTML parser in <head>. Across all audited sites, 29.9% ship render-blocking scripts (95% good LCP, 1.4s median).

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,243 sites with script loading strategyBy Arjen Karel · corewebvitals.io/state-of-cwv
Related signals Cookies per site → Uses @import → DOM size → Images per page → By Arjen Karel · 8,246 crawled Shopify sites (3,818 with desktop Chrome field data, 8,243 sites with script loading strategy, October 2026) · How we measured