All answers

The Prevailing
Answers for
Business model:
Business model, pick up to two

How should we handle third-party scripts that slow pages?

The PrevailingPublished Oct 29, 2026

Our answer

Remove third-party scripts few visitors use first. Run pixels and app scripts through Shopify's Customer events and app embeds, load chat, reviews and tags after the page, and recheck Core Web Vitals after each change.

Confidence
Medium
Strongest proof
3 official rules
3 datasets, 4 practitioners, 3 opinions or claims
Sources
8 sources
13 statements

New here? Take the 1-minute tour

Why this is the answer

3 reasons and our judgment

Removing a script or app is the first fix (DebugBear, Fudge, scandiweb and Visionary Marketing). Each removed app usually returns 50 to 200 milliseconds (Visionary Marketing).

Third-party code is everywhere, and chat is among the heaviest. Third parties appear on 90% or more of pages (HTTP Archive). About 10% of 1,166 Shopify storefronts ran a chat integration that added over 600 KB of JavaScript (Hyperspeed).

Shopify's old route for app scripts is ending. Shopify runs app pixels in a sandbox that honors consent, and it stops running app script tags on storefronts on March 1, 2027.

Our judgment

Remove scripts before you defer them to load later, since every source that ranks the fixes puts removal first, and Fudge says deferring fixes blocked downloads, not slow execution. Move every pixel and app script you keep into Customer events and app embeds, because those are the routes Shopify sandboxes and lets you switch off. Keep chat where it answers buying questions, but load it later and only on those pages, as Hyperspeed and 1Digital say it can load after the page.

Our judgment, built from DebugBear, Fudge, scandiweb, Visionary Marketing, Shopify, HTTP Archive, Hyperspeed and 1Digital: our reading of these sources, not a finding from any one of them.

What the sources say

13 statements from 8 sources
  • ShopifyUndatedSupports

    Shopify says app pixels run in a strict sandbox and honor customers' consent choices, while custom pixels run in a looser iframe sandbox. It recommends installing apps over writing custom pixels.

    “We strongly recommend that developers create apps and encourage users to install their apps instead of creating Custom Pixels, for greater integration.”

    Read it on shopify.dev

  • ShopifyUndatedSupports

    Shopify's theme checker flags script tags without defer or async, since they block the page from rendering, and says themes should never use them. It covers theme code, not scripts apps inject.

    “As a general rule, use defer if the order of execution matters, and use async if it doesn't.”

    Read it on shopify.dev

  • FudgeOct 27, 2026Supports

    Fudge, which sells a theme code tool, says to defer theme scripts, async independent analytics, fire GTM tags on Window Loaded or DOM Ready, and remove unused apps, the biggest speed fix.

    “App removals are the highest-leverage performance fix.”

    Read it on fudge.ai

  • FudgeOct 27, 2026Supports

    Fudge, which sells a tracking code tool, says to add purchase tracking through Shopify's Customer events and app scripts through App Embeds, and to install each pixel only once so purchases are not counted twice.

    “purchase events will fire twice. Use one method only.”

    Read it on fudge.ai

  • HyperspeedAug 27, 2026Supports

    Hyperspeed, which sells a speed app, found in its audit of 1,166 Shopify stores that about 10% ran a chat app adding over 600 KB of JavaScript. It says to load chat later rather than remove it.

    “You don't need to remove chat. You need to change when it loads.”

    Read it on hyperspeed.me

  • ShopifyAug 24, 2026Supports

    Shopify says apps can no longer create script tags from October 1, 2026, and it will stop running script tags on storefronts on March 1, 2027, in favor of app embed blocks.

    “On March 1, 2027, Shopify will stop injecting script tags into storefronts.”

    Read it on shopify.dev

  • 1DigitalAug 4, 2026Supports

    1Digital, which sells ecommerce development, says many mid-tier Shopify stores load in 3 to 5 seconds on mobile, and advises fixing LCP first, then INP, then CLS.

    “treat every new app install as a potential performance regression”

    Read it on 1digitalagency.com

  • FudgeJul 20, 2026Supports

    Fudge, which sells a theme code tool, says from 500+ Shopify stores that most apps load scripts on every page, so removing rarely used apps is usually the biggest single speed win.

    “The feature might be used by 2% of visitors. The runtime cost is paid by 100% of them.”

    Read it on fudge.ai

  • HyperspeedJun 11, 2026Caveat

    Hyperspeed, which sells a Shopify speed app, found 422 stores averaged 5.94 detectable apps; across 273 stores, mobile PageSpeed fell from 53.2 with 1 to 2 apps to 38.3 with 16+, a correlation across stores, not a test.

    “The number of apps installed matters less than the amount of JavaScript work those apps force the browser to perform.”

    Read it on hyperspeed.me

  • scandiwebMay 22, 2026Supports

    scandiweb, which sells Shopify performance work, says app sprawl is the biggest cause of slow stores. In one store, removing nine apps lifted the mobile score from 20 to 38.

    “The single biggest cause of slow Shopify stores in 2026 is third-party app sprawl, not the platform itself.”

    Read it on scandiweb.com

  • Visionary MarketingMay 11, 2026Supports

    Visionary Marketing, which sells site work, puts app removal first among Shopify speed fixes, at 50-200ms per app; across 12 client stores, average lab LCP fell from 2.48s to 1.85s.

    “Audit apps first, theme second, images third.”

    Read it on visionary-marketing.co.uk

  • DebugBearJan 27, 2026Supports

    DebugBear says removing a third-party script is the biggest speed gain; otherwise load third parties after the main content, only where needed, with placeholders so they don't shift the layout.

    “Eliminating a third-party entirely is the most impactful optimization you can make.”

    Read it on debugbear.com

  • HTTP ArchiveJan 15, 2026Supports

    HTTP Archive's 2025 Web Almanac finds at least 90% of web pages load third parties; the top 1,000 sites have a median 129 third-party requests on desktop. Chat scripts run heavy and tag managers load many more.

    “the percentage of pages with one or more third parties remains greater or equal to 90%.”

    Read it on almanac.httparchive.org

In the full answer

For readers who sign in
  • What to do this week3 steps
  • The numbers behind it3 figures from cited sources
  • Where each source standsA chart placing each source on the question
  • The strongest disagreementThe best case against the answer, from a cited source
  • How sure we areWhat its confidence rests on, and what would change the answer

Read next

More in Speed and technical health