Skip to main content
Shopify SEO Agency

Shopify SEO guide

Shopify Core Web Vitals: How to Fix LCP, INP and CLS on Your Store

How to read Shopify Core Web Vitals data, find what slows LCP, INP and CLS (hero images, app scripts, fonts) and fix it in the theme, app settings or admin.

By the Shopify SEO Agency editorial team Updated 22 min read 28 primary sources

Key takeaways

  • A page passes Core Web Vitals when the 75th percentile of real visits has LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less, assessed separately for mobile and desktop.
  • Field data (Shopify's web performance dashboard, Search Console and the field section of PageSpeed Insights) tells you whether there is a problem; lab tools like Lighthouse and Chrome DevTools help you find the cause.
  • Google says Core Web Vitals are used by its ranking systems, but also that good scores don't guarantee top rankings and that relevant content can still rank with a sub-par page experience.
  • On Shopify, poor LCP usually traces back to the hero or main product image, poor INP to JavaScript from apps and the theme, and poor CLS to app widgets, banners and fonts that load late.
  • Measure a single app's cost by blocking its script domain in Chrome DevTools and comparing scripting time, then decide with the merchant whether the feature is worth it.
  • Uninstalling an app removes its theme app extension blocks, but code an app wrote directly into theme files can stay behind until a developer removes it.

Shopify Core Web Vitals are the three Google metrics that describe how a store’s pages feel to real shoppers: Largest Contentful Paint (LCP) for loading, Interaction to Next Paint (INP) for responsiveness, and Cumulative Layout Shift (CLS) for visual stability. A page passes when each metric meets its “good” threshold at the 75th percentile of real visits. On Shopify, the causes are predictable. LCP usually comes down to how the hero or main product image is loaded. INP comes down to how much JavaScript apps and the theme run. CLS comes from app widgets, banners and fonts that arrive after the page has drawn.

Most fixes live in theme code, but many start with a business decision about apps. This guide covers how to read your data, how Core Web Vitals relate to Google rankings (less directly than many vendors suggest), how to diagnose each metric on a Shopify theme, and who should make each fix. For where performance fits among other priorities, see our complete Shopify SEO guide.

Core Web Vitals thresholds and the 75th percentile

Google’s web.dev documentation sets the “good” thresholds, and Shopify’s dashboard uses the same bands:

Metric What it measures Good Needs improvement (Shopify: “Moderate”) Poor
LCP When the largest image or text block in the viewport renders 2.5 s or less 2.5–4 s Over 4 s
INP How quickly the page responds visually to clicks, taps and key presses 200 ms or less 200–500 ms Over 500 ms
CLS How much visible content moves unexpectedly 0.1 or less 0.1–0.25 0.25 or more

Two details matter more than the numbers:

  • The 75th percentile, not the average. Google assesses “the 75th percentile of page loads, segmented across mobile and desktop devices.” If a quarter of your mobile visits have a slow LCP, the page fails on mobile even if most visits are fast. This is why a fast test on office Wi-Fi doesn’t settle anything.
  • All three must pass. PageSpeed Insights passes the Core Web Vitals assessment only when the 75th percentile of LCP, INP and CLS are all good. Search Console gives a URL group “the slowest status assigned to it for that device type,” so one poor metric marks the whole group poor.

INP replaced First Input Delay (FID) as a Core Web Vital in March 2024. Older audit templates and app listings that still talk about FID are out of date.

Field data vs. lab data: which Shopify site speed numbers to trust

Every tool that reports Shopify site speed falls into one of two groups. Shopify’s own developer docs put the split simply: “Use field data to identify a problem, use lab data to debug and fix it.” Google’s web.dev says the same thing in another way: lab measurement “is not a substitute for field measurement.”

Field data (what real shoppers experienced)

  • Shopify’s web performance dashboard. In the admin, go to Online Store (the Themes page). The performance summary shows LCP, INP and CLS “based on real user data from the past 30 days,” ranked against the 75th percentile. Full reports live under Analytics > Reports. Search “contentful” for LCP, “next” for INP or “cumulative” for CLS. Each metric has Over Time, Page URL and Page Type reports. The Over Time charts carry numbered event annotations for things like app installs, theme updates and new code, which is the fastest way to connect a regression to a change. Shopify notes that data can be delayed by up to 36 hours and is kept for 90 days. Stores in private (password) mode may show no metrics.
  • Chrome UX Report (CrUX). Google’s public dataset of real Chrome user experiences. A page or origin only has data if it is “publicly discoverable” and has “a large enough number of visitors.” Shopify’s docs note that CrUX “reports the 75th percentile over a 28-day rolling window, so a fix takes weeks to show fully.”
  • Search Console’s Core Web Vitals report. Built on CrUX data. It groups “pages that have a similar user experience” (on a Shopify store, often product pages share a group, collection pages another), shows only indexed URLs, and lists a sample rather than every URL. Low-traffic groups may fall back to origin-level data or not appear at all. After a fix, Validate fix starts a 28-day monitoring session.
  • PageSpeed Insights, field section. The top “Discover what your real users are experiencing” panel is CrUX data for “the previous 28-day collection period.” When a single URL lacks data, PSI falls back to origin-level data, which covers the whole store.

Shopify’s dashboard and CrUX won’t match exactly, and they shouldn’t be expected to. Shopify says its reports gather data “from all Chromium browsers (Chrome, Opera, Edge, Samsung Internet) and Firefox,” while PageSpeed Insights uses CrUX data from Chrome users only. The windows differ too (30 days vs. 28). Use Shopify’s dashboard to spot trends and pin down the date a problem started. Use Search Console and CrUX to see the data Google itself uses.

Lab data (one simulated visit)

  • Lighthouse, including the lower “Diagnose performance issues” half of PageSpeed Insights. Shopify’s docs warn that its “default mobile run applies network and CPU throttling, which won’t match your real visitor mix.” PageSpeed Insights says plainly that “good lab data does not necessarily mean real-user experiences will also be good.”
  • Chrome DevTools (Performance panel, Network panel, Coverage tab) for tracing exactly which script or image is responsible.
  • WebPageTest, which Shopify’s docs call “the right tool for diagnosing a slow storefront request chain, including app scripts, third-party domains.”

Lab tools can’t measure INP well, because INP needs real interactions. A Lighthouse run with no clicks can’t tell you how slow your size selector or add-to-cart button feels on a mid-range phone.

Do Core Web Vitals affect Shopify rankings?

Yes, but less than a lot of marketing implies. Google’s page experience documentation states that “Core Web Vitals are used by our ranking systems.” The same page says there is “no single signal” for page experience, that good scores don’t “guarantee that your pages will rank at the top of Google Search results,” and that “Google Search always seeks to show the most relevant content, even if the page experience is sub-par.” Google adds that page experience can help when there’s lots of helpful content competing for a query. It also notes that its core ranking systems “generally evaluate content on a page-specific basis,” while some assessments are site-wide.

What that means for a Shopify store:

  • A collection page that doesn’t match search intent won’t outrank a better one because it loads faster.
  • Between similar, relevant pages, page experience can tip the balance. Google “highly recommend[s]” achieving good Core Web Vitals “for success with Search and to ensure a great user experience generally.”
  • The commercial case is usually stronger than the ranking case. Slow product pages and buttons that lag on mobile cost conversions whether or not rankings move.

Treat Core Web Vitals as one part of technical health, alongside crawlability, duplicate URLs and structured data. Our Shopify SEO checklist shows where performance sits among the other checks.

Shopify LCP: fixing the largest image (and what’s behind it)

On most Shopify templates, the LCP element is an image: the hero banner or slideshow on the homepage, the first media item on product pages, and either a collection banner or the first product card on collection pages. Use PageSpeed Insights or the DevTools Performance panel to confirm the LCP element for each template before changing anything.

web.dev breaks LCP into four subparts: time to first byte (TTFB), resource load delay, resource load duration and element render delay. It suggests, as a guideline, that TTFB and load duration take roughly 40% each, with load delay and render delay under 10% each. Each subpart has a typical Shopify cause.

Resource load delay: lazy loading and late discovery

The most common Shopify LCP mistake is a hero image marked loading="lazy". Shopify’s performance docs explain that lazy loading on the LCP image “delays it until after layout completes,” and web.dev puts it bluntly: “Never lazy-load your LCP image.”

The image_tag Liquid filter makes this easy to get wrong without noticing. Per Shopify’s reference, when you don’t set preload, “loading is automatically set to lazy for images in sections further down the page.” That’s sensible for lower sections, but it means a theme or custom section that moves a banner around, or renders the first product image in a block, should set loading explicitly.

Shopify’s own recommended pattern uses section.index to decide. The first section gets eager loading and fetchpriority: 'high', sections after the third get lazy, and everything else loads eagerly at normal priority:

{%- liquid
  assign img_loading = 'eager'
  assign img_priority = 'auto'
  if section.index == 1
    assign img_priority = 'high'
  elsif section.index > 3
    assign img_loading = 'lazy'
  endif
-%}
{{
  section.settings.image
  | image_url: width: 3840
  | image_tag:
    widths: '750, 1100, 1500, 2200, 3000, 3840',
    sizes: '100vw',
    loading: img_loading,
    fetchpriority: img_priority
}}

Two caveats from Shopify’s docs. First, section.index is nil in the theme editor, in static sections and in Section Rendering API responses, which is why the lazy branch tests > 3 rather than defaulting to lazy. Second, use fetchpriority="high" “on the LCP image only, one per page,” and never together with loading="lazy". Dawn’s image-banner.liquid follows the same idea: it sets fetchpriority to high when section.index == 1 (observed in Shopify’s Dawn repository).

The image also has to be in the initial HTML. web.dev calls it “critical that the resource is discoverable in the initial HTML document response.” A hero rendered by JavaScript, or set as a CSS background-image from an external stylesheet, is found late. Some slideshow apps and page builders work this way. If you can’t change that, preloading is the fallback.

Preloading the LCP image

image_tag accepts preload: true. Per Shopify’s reference, this sends a Link HTTP header with rel=preload and as=image, including imagesrcset and imagesizes that match the tag, and it “doesn’t affect the HTML img tag directly.” Shopify recommends using <link rel="preload"> for “only 1 or 2 critical resources” and notes that it already preloads up to 10 render-blocking scripts and stylesheets automatically. If the image is already a plain <img> in the HTML with fetchpriority="high", a preload usually adds little. It earns its place when the image is discovered late.

Resource load duration: image size

image_url resizes on Shopify’s CDN up to 5,760 px wide, but “an image can never be resized to be larger than its original dimensions.” Shopify’s reference also says the CDN detects which formats the browser supports and picks one for quality and file size, naming WebP and AVIF as examples. So you rarely need to convert formats by hand. What you do need is the right sizes value. image_tag generates a default srcset of widths. If sizes claims the image is 100vw when it really fills half the screen on desktop, the browser downloads a file twice as wide as needed. Shopify’s guidance is to “use srcset and sizes with image_tag to serve the smallest image that still looks good at each viewport size.”

Merchant-side habits matter too. Hero videos set to autoplay, carousels whose first slide is a heavy image, and multiple stacked banners above the fold all add weight. Shopify’s help center lists carousels and videos among the features that “can impact your store’s performance.”

Element render delay: render-blocking CSS, scripts and fonts

If the image arrives quickly but paints late, something is blocking rendering. On Shopify that’s usually an app script loaded in <head> without async or defer, or a large stylesheet. Shopify’s guidance is to “identify and remove or defer app scripts that block HTML parsing before any content is rendered.” Use async “only for independent third-party scripts where execution order doesn’t matter” and defer for other non-critical scripts. Dawn loads its own theme scripts with defer (observed in layout/theme.liquid).

When text is the LCP element (common on content pages and on mobile collection headers), web fonts can delay it. See the fonts section below.

Time to first byte: Liquid rendering

Shopify hosts the store and serves it from its CDN, so TTFB isn’t a hosting choice you can change. The theme still affects it. Shopify’s docs note that it “renders Liquid templates server-side on every page request,” so heavy Liquid (deeply nested loops over collections, large mega menus built from many collections, rendering several product grids on one page) raises TTFB. Shopify cites savings of “25 to 50 ms of TTFB on complex themes” from Liquid optimizations. That’s useful, but it’s rarely the biggest LCP win.

For product templates specifically, review the product image, variant and structured-data sections of your theme alongside the broader Shopify SEO guidance in our Shopify SEO guide.

Shopify INP: app scripts, theme JavaScript and long tasks

INP is the metric Shopify stores most often struggle with, because it’s driven by JavaScript, and apps add a lot of JavaScript. web.dev splits an interaction into three phases:

  1. Input delay. The time before the event handler can start, because the main thread is busy. On Shopify this is often app and tracking scripts still running when a shopper taps something during or just after load. web.dev notes that “script evaluation” during page load can extend input delay.
  2. Processing duration. The time the event handlers take: variant pickers that re-render the price, gallery and inventory; cart drawers that fetch and redraw; filters that rebuild a grid.
  3. Presentation delay. The time to draw the next frame, which grows with DOM size. web.dev notes that rendering work “tends to scale with increasing DOM size.” Collection pages with hundreds of product cards and big mega menus are typical culprits.

A long task is “any task that takes longer than 50 milliseconds,” and the browser can’t respond to input while one is running. Your goal is fewer and shorter long tasks around the moments shoppers interact.

Do Shopify apps slow down my store?

Some do, and most of the cost shows up in INP. Shopify’s help center lists apps, third-party scripts and services, and analytics libraries among the factors that affect performance, and it calls out “tag managers and the tags within them.” An app that adds a widget to the storefront usually loads JavaScript on every page, whether or not that page uses the widget. Reviews, upsells, chat, popups, loyalty, personalization, A/B testing, heatmaps and multiple ad pixels each add their own scripts. Back-office apps that never touch the storefront (inventory, accounting, shipping labels) typically don’t affect storefront speed.

The useful question isn’t whether apps slow your store, but which ones, by how much, and whether each is worth it.

How to attribute cost to a specific app

Shopify’s developer docs describe a repeatable method in Chrome DevTools:

  1. List the third-party domains. In the Network panel, filter by JS and sort by Waterfall. Note each vendor domain. Our free Shopify SEO checker also lists the third-party script domains and render-blocking scripts in a page’s HTML, which is a quick starting inventory. Those are signals, not Core Web Vitals measurements.
  2. Block one domain and reload. Use Network Request Blocking with the domain as the pattern. Shopify’s wording: “Block a domain, reload, and compare transfer sizes and scripting time.”
  3. Record a Performance trace. With and without the domain blocked, record a page load, then “use the Bottom-Up tab grouped by URL to pinpoint specific third-party scripts consuming main-thread time.”
  4. Check Coverage. The Coverage tab shows how much downloaded code never ran. Shopify notes results “are specific to the page you record,” so check product, collection and home templates before calling a script unused.
  5. Rank by impact. Shopify’s render-blocking guide treats apps with “500 ms or more of blocking time” as high priority for removal and those under 100 ms as low priority, to optimize rather than remove.

Blocking an app’s domain will usually break its feature on that test load. That’s expected. You’re measuring what the feature costs, so the merchant can weigh it against what it earns.

Fixing INP on a Shopify theme

Where the fix lives depends on whose code is slow.

  • Remove or replace apps. The merchant decides, based on the measured cost. Shopify’s audit guidance is to review “all scripts, including apps, tracking pixels, and theme code” and remove what isn’t earning its cost.
  • Load app features on the templates that use them. Shopify’s example wraps an app’s assets in a template check, so a size chart loads only on apparel product pages:
{% if template.name == 'product' and product.type == 'Apparel' %}
  <link rel="stylesheet" href="{{ 'size-chart.css' | asset_url }}" media="print" onload="this.media='all'">
  <script src="{{ 'size-chart.js' | asset_url }}" defer></script>
{% endif %}

This works for code that lives in your theme files. For scripts injected through an app embed, you’re limited to the settings the app exposes, so ask the vendor whether it can be limited to certain templates.

  • Load on interaction. Shopify recommends using “dynamic import() within event listeners to load modules only when needed,” for example loading a chat widget when the shopper clicks a lightweight placeholder button. It says this “improves INP scores” by keeping the initial bundle small.
  • Render instead of script where possible. If a reviews app writes to the standard reviews metafields, Shopify’s docs show rendering the star summary with Liquid (product.metafields.reviews.rating.value.rating) instead of loading the app’s script just for the stars.
  • Break up the theme’s own long tasks. For custom variant pickers, filters and cart code, web.dev recommends yielding to the main thread and suggests scheduler.yield() “with a cross-browser fallback.” Update what the shopper sees first (the selected state, the price), then do the rest in a later task.
  • Cut DOM size. Paginate collections at a sensible size, and avoid rendering hidden duplicate markup (separate mobile and desktop menus, every variant’s gallery in the DOM at once).

App embeds vs. leftover theme code after uninstall

How an app adds code to your theme determines what happens when you remove it.

  • Theme app extensions (app blocks and app embeds). Merchants turn app embeds on and off in the theme editor: Online Store > Edit theme, then the App embeds icon in the sidebar. Shopify’s developer docs state that when an app is uninstalled, “blocks associated with the apps are automatically and entirely removed from online store themes.” Turning an embed off is also a quick way to test its cost without uninstalling. Shopify’s help center notes that app embeds aren’t active by default in a newly published theme, so they need to be re-enabled after a theme switch.
  • Code written into theme files. Shopify’s help center says “some apps inject code directly into your theme’s code,” and that “uninstalling an app doesn’t automatically remove its code from your theme.” Shopify’s developer docs add that “many apps inject <script> tags, stylesheet links, or Liquid snippets into theme files during installation.”

In practice, older stores often carry snippets from apps uninstalled years ago. Some still load a script from a vendor domain. Others render nothing but still run their Liquid. Shopify’s cleanup steps: search layout/theme.liquid, the snippets/ folder and section files for the app’s name or script domain, delete the snippet together with the {% render %} or {% include %} tag that loads it, and confirm in the page source that the script no longer loads. Work on a duplicate theme first.

CLS on Shopify: image dimensions, injected app content and fonts

web.dev lists the most common causes of CLS as images without dimensions, “ads, embeds, and iframes without dimensions,” dynamically injected content and web fonts. All of them show up on Shopify stores.

Images and media without dimensions

image_tag adds width and height attributes automatically, based on the image URL’s dimensions and aspect ratio, so the browser can reserve the right space. CLS problems come from images written as raw <img src="{{ image | image_url: width: 800 }}"> tags in custom sections or app snippets, which skip that. Passing width: nil or height: nil to image_tag also removes the attributes. Video and iframe embeds (YouTube, Instagram feeds, review carousels) need a fixed size or a CSS aspect-ratio.

App widgets and banners injected after load

This is the classic Shopify CLS pattern: the page renders, then a review summary appears under the product title, a “Buy now, pay later” message lands under the price, or an announcement or cookie bar pushes the whole page down. web.dev notes that content injected “closer to the top of the viewport usually causes greater layout shifts.”

Shopify’s fix is to reserve space. Allow the @app block type in the section schema, then set a minimum height on .shopify-app-block inside that section:

/* Reserve space for app blocks inside the product info column */
.product__info-container .shopify-app-block {
  min-height: 48px;
}

Shopify’s rough sizing guide is 24–30 px for star ratings and small badges, 48–60 px for review summaries and trust-badge rows, and 80–200 px for full review widgets. Measure the real widget on mobile before setting the value. If space can’t be reserved, move the widget lower, since “shifts below the viewport don’t count toward CLS,” or use a placeholder with matching dimensions. For banners, render them in the theme’s HTML (most themes have an announcement bar section) instead of letting a script insert them above the header. Overlay popups that don’t push content don’t shift the layout.

Shifts within 500 ms of a shopper’s own input don’t count, so an accordion opening on tap is fine. A cart drawer that loads content and shifts the page a second later isn’t.

Fonts

When a web font replaces a fallback font with different metrics, text reflows and everything below it moves. On Shopify:

  • Theme fonts chosen in Theme settings > Typography come from Shopify’s font library. Dawn outputs them with font_face: font_display: 'swap' and preloads the body and heading font files with font_url (observed in layout/theme.liquid). The font_face filter accepts an optional font_display parameter.
  • Shopify recommends you “upload web fonts to the Shopify CDN instead of loading from Google Fonts or other external services,” or “use system fonts to avoid downloading web font files before text can render.”
  • To reduce the shift itself, Shopify and web.dev both recommend matching the fallback font’s metrics with size-adjust and related overrides. web.dev also notes that font-display: optional avoids a re-layout, at the cost of sometimes showing the fallback font.
  • Every extra weight or family (a separate heading font, an app that loads its own font) is another file to download and another possible shift.

A step-by-step workflow to speed up a Shopify store

Use this order. It keeps you from optimizing something that isn’t the problem.

  1. Confirm a field problem. Open Search Console’s Core Web Vitals report and Shopify’s web performance dashboard. Note which metric fails, on which device, and on which template (use the Page Type report). If field data is good, stop. Lab scores alone aren’t a reason to change the theme.
  2. Find when it started. On the Over Time report, check the event annotations. A drop right after an app install or theme update is usually your answer.
  3. Pick a representative URL per failing template. Use the Page URL report, or Search Console’s example URLs, to choose a high-traffic product, collection or home page.
  4. Reproduce in the lab. Run PageSpeed Insights and a DevTools Performance trace with mobile CPU throttling. Identify the LCP element, the layout-shift culprits and the long tasks.
  5. Inventory scripts. List every third-party domain and render-blocking script. Map each to an app, pixel, tag manager or the theme.
  6. Attribute cost. Block domains one at a time and compare main-thread time and LCP. Toggle app embeds off on a duplicate theme to test them.
  7. Decide with the merchant. For each expensive app: keep, configure, replace or remove. This is a business call, not only a technical one.
  8. Fix in a duplicate theme. Make the theme changes (image loading, sizes, reserved space, deferred scripts, leftover snippet cleanup) on an unpublished copy, preview it, then publish.
  9. Annotate and wait. Note the publish date. Shopify’s dashboard updates within about a day and a half. CrUX and Search Console need up to 28 days to fully reflect the change, so start Validate fix in Search Console and check back.
  10. Repeat after every app install. Each new storefront app is a new line in step 5.

Shopify Core Web Vitals symptom table

Symptom Likely Shopify cause Where the fix lives Who fixes it
Poor LCP on the homepage, hero is the LCP element Hero image lazy loaded, no fetchpriority="high", or rendered by a slideshow script Theme code (image_tag parameters, section markup) Developer
Poor LCP on product pages First product image lazy loaded or oversized; sizes doesn’t match the layout Theme code (main product section, media snippets) Developer
LCP image arrives early but paints late Render-blocking app script or large stylesheet in <head> Theme code, app settings Developer, app vendor
Slow LCP across all templates, high TTFB Heavy Liquid (nested loops, large menus, many product grids on one page) Theme code Developer
Huge hero files, autoplay video above the fold Content choices in the theme editor Theme editor settings Merchant
Poor INP sitewide Many storefront apps, tag manager tags and pixels running at load Apps (remove or replace), tag manager, app embed toggles Merchant decides, developer implements
Poor INP on product pages only Variant picker or add-to-cart handlers doing too much work in one task Theme JavaScript Developer
Poor INP on collection pages Large DOM from many product cards; filter app re-rendering the grid Theme code, filter app settings Developer, app vendor
Unknown vendor scripts on every page Snippets left behind by uninstalled apps Theme files (theme.liquid, snippets/) Developer
CLS on product pages Review stars, payment messaging or badges injected after load Theme code (reserved space for @app blocks), app settings Developer, app vendor
CLS at the top of every page Announcement, cookie or promo bar inserted by script App settings, or move the banner into a theme section Merchant, developer
CLS when text appears Web font swap with mismatched fallback metrics, extra font families Theme settings (Typography), theme CSS Merchant, developer
CLS on images in custom sections Raw <img> tags without width/height Theme code (switch to image_tag) Developer
No data in Shopify’s dashboard Store in private (password) mode, or too new Shopify settings (Online Store preferences) Merchant

What not to do

  • Don’t chase a Lighthouse score. The Lighthouse score is a lab number from one throttled visit. Google’s Core Web Vitals assessment and Search Console use field data. A store can score in the 40s in Lighthouse and pass Core Web Vitals in the field, or the reverse. (Shopify does use Lighthouse for Theme Store acceptance, requiring “a minimum average Lighthouse performance score of 60,” but that’s a bar for theme developers, not a ranking measure.)
  • Don’t trust a single test. Lab results vary run to run. Compare medians of several runs, or better, field data over time.
  • Be careful with speed “booster” apps. Some apps promise better scores by compressing assets, adding preloads or delaying scripts until the first interaction. Shopify’s CDN already serves resized, format-optimized images through image_url, and Shopify already preloads critical render-blocking assets, so some of these features duplicate what the platform does. Delaying every script until the first tap can make a lab score look better while moving that work into the shopper’s first interaction, which is exactly what INP measures. It can also break features that need to run early. An optimization app is also another app with its own code. If you try one, judge it by field data over the following weeks, not by its own report or a before-and-after Lighthouse screenshot.
  • Don’t over-preload or over-prioritize. Shopify says overusing preload “degrades browser prioritization,” and web.dev warns that fetchpriority="high" on more than one or two images stops helping.
  • Don’t edit the live theme. Duplicate it, change the copy, preview, then publish. Keep the previous version for rollback.
  • Don’t remove an app’s code while the app is still installed without checking with the vendor. You may break a feature the merchant relies on. Shopify suggests contacting the app developer for complete removal instructions.

A note on Hydrogen and headless storefronts

Everything above assumes an Online Store theme built in Liquid. Shopify’s docs now describe Hydrogen as “Shopify’s headless toolkit.” It supports several frameworks, including React Router (the starter template, deployed to Oxygen) and Next.js. On a headless storefront, the Liquid-specific advice doesn’t apply: there’s no image_tag, no theme editor app embeds and no section.index. The principles do carry over. Find the LCP element and make it discoverable and high priority, keep JavaScript off the main thread around interactions, and reserve space for anything that loads late.

The measurement side changes too. Use CrUX, PageSpeed Insights and Search Console, which work for any public site, and check whether Shopify’s web performance dashboard covers your storefront before relying on it. Headless sites move performance responsibility to your development team. You trade platform defaults for full control, and you carry the whole JavaScript budget yourself.

When to bring in help

Merchants can handle a lot of this: checking the dashboard, removing unused apps, toning down hero media and testing app embeds. Attributing main-thread time to specific apps, rewriting image loading in sections, cleaning up years of leftover snippets and fixing theme JavaScript for INP is developer work. If you want someone to diagnose it and make the theme changes, that’s part of our technical SEO work for Shopify stores. Performance can also be one stream within broader Shopify SEO services, alongside the crawl, content and structured data work that usually moves rankings more.

Sources

Technical statements in this guide were checked against these primary sources on the dates shown. See our editorial policy.

  1. web.dev: Web Vitals (accessed November 30, 2026)
  2. web.dev: Optimize Largest Contentful Paint (accessed November 30, 2026)
  3. web.dev: Optimize Interaction to Next Paint (accessed November 30, 2026)
  4. web.dev: Optimize long tasks (accessed November 30, 2026)
  5. web.dev: Optimize Cumulative Layout Shift (accessed November 30, 2026)
  6. Google Search Central: Understanding page experience in Google Search results (accessed November 30, 2026)
  7. Google Search Central: Understanding Core Web Vitals and Google search results (accessed November 30, 2026)
  8. Search Console Help: Core Web Vitals report (accessed November 30, 2026)
  9. PageSpeed Insights: About PageSpeed Insights (accessed November 30, 2026)
  10. Chrome for Developers: Chrome UX Report overview (accessed November 30, 2026)
  11. Shopify Help: Web performance dashboard (accessed November 30, 2026)
  12. Shopify Help: How web performance is measured (accessed November 30, 2026)
  13. Shopify Help: Improving your online store performance (accessed November 30, 2026)
  14. Shopify Help: Apps in your theme (app embeds) (accessed November 30, 2026)
  15. Shopify Dev: Theme performance best practices (accessed November 30, 2026)
  16. Shopify Dev: Lab vs. field data (accessed November 30, 2026)
  17. Shopify Dev: Set fetchpriority high on the LCP image (accessed November 30, 2026)
  18. Shopify Dev: Use preload resource hints sparingly (accessed November 30, 2026)
  19. Shopify Dev: Remove render-blocking apps (accessed November 30, 2026)
  20. Shopify Dev: Audit and remove third-party scripts (accessed November 30, 2026)
  21. Shopify Dev: Load JavaScript on user interaction (accessed November 30, 2026)
  22. Shopify Dev: Reserve space for app-injected content (accessed November 30, 2026)
  23. Shopify Dev: UX for theme app extensions (accessed November 30, 2026)
  24. Shopify Liquid: image_tag filter (accessed November 30, 2026)
  25. Shopify Liquid: image_url filter (accessed November 30, 2026)
  26. Shopify Liquid: font_face filter (accessed November 30, 2026)
  27. Shopify Dev: Hydrogen (accessed November 30, 2026)
  28. Shopify Dawn theme repository (GitHub) (accessed November 30, 2026)

Want specialists to handle this for you?

We fix Shopify SEO issues in your theme and settings, then report what changed and what it earned.