Core Web Vitals on Shopify: what you control
A common complaint from Shopify store owners goes something like: “Shopify hosts everything, so why is my store slow? There’s nothing I can do about it.”
The first part is true: you can’t pick a faster server, tune caching or change how Shopify’s infrastructure works. The second part isn’t. Most of what makes a Shopify store slow sits on top of that infrastructure: the theme, the apps, the images and the scripts. All of that is yours.
Here’s how the three Core Web Vitals play out on Shopify, and what you can actually do about each.
The short answer
- Shopify controls hosting, the CDN, SSL and the checkout.
- You control the theme, apps, images, fonts, third-party scripts and how the page is built.
- LCP on Shopify is usually the hero banner or the main product image: size it properly and don’t lazy load it.
- FID is mostly about JavaScript, and apps are the biggest source of it.
- CLS comes from images without dimensions, late-loading app widgets, banners and fonts.
- Measure with field data (Search Console, PageSpeed Insights), not only the lab score.
A quick refresher
The three Core Web Vitals, with Google’s “good” thresholds:
- Largest Contentful Paint (LCP): how quickly the largest visible element loads. Good: 2.5 seconds or less.
- First Input Delay (FID): how quickly the page responds to the first tap or click. Good: 100 milliseconds or less.
- Cumulative Layout Shift (CLS): how much the page jumps around as it loads. Good: 0.1 or less.
Google has also announced that Interaction to Next Paint (INP) will replace FID in March 2024. INP looks at responsiveness across all interactions, not just the first, and it’s stricter. The fixes for FID (less JavaScript, lighter apps) are the same fixes that will help INP, so it’s worth starting now.
I explained all three metrics in more detail in Core Web Vitals in plain English.
Where to measure
- Search Console → Core Web Vitals: real-user data from Chrome users, grouped by similar URLs. Smaller stores may see “not enough data”, which is normal.
- PageSpeed Insights: test individual URLs. The top section (“Discover what your real users are experiencing”) is field data; the score below is a lab test on a simulated device. They can disagree a lot.
- Shopify’s online store speed report in the admin: useful as a rough trend, but it’s a score, not the same thing as your Core Web Vitals.
Test the templates that matter: the home page, a collection page and a product page. On mobile.
LCP on Shopify
On most stores, the LCP element is:
- The hero image or slideshow on the home page
- The main product image on product pages
- The collection banner or first product images on collection pages
What you control:
- Image size. Upload sensibly sized, compressed images. Shopify serves resized versions and modern formats automatically, but a giant original still costs more.
- Don’t lazy load the LCP image. Some themes and apps lazy load everything, including the first image. Check PageSpeed Insights for “Largest Contentful Paint image was lazily loaded”. See lazy loading images.
- Simplify the hero. A slideshow of five large images loads more than one strong image. Auto-playing video banners are heavier still.
- Fonts. Several custom font families and weights delay text rendering. Two weights of one font is usually plenty, and system fonts are fastest of all.
- Render-blocking scripts. Apps and tracking code that load in the
<head>delay everything below them.
FID on Shopify
FID suffers when the browser is busy running JavaScript and can’t respond to a tap. On Shopify, the biggest source is apps.
Each app can add its own scripts: reviews, pop-ups, chat, upsells, wishlists, currency converters, analytics, social feeds. Individually they might be fine. Ten of them together can keep a mid-range phone busy for seconds.
What you control:
- Audit your apps. List every installed app and ask: is it earning its place? Would I install it again today?
- Remove unused apps properly. Uninstalling doesn’t always remove code an app added to your theme. Check the theme files (or ask the app developer) for leftover snippets.
- Prefer app embeds. Apps built on Shopify’s newer theme app extensions can be switched on and off in the theme editor, and usually leave nothing behind when removed.
- Limit third-party scripts: tracking pixels, heatmaps and chat widgets all add up. Keep what you actually use.
- Load non-essential widgets later. A chat widget doesn’t need to load before the product image.
The same discipline as on WordPress applies: every plugin is a cost. My process for that is in auditing your WordPress plugins, and it transfers almost exactly.
CLS on Shopify
Layout shift on Shopify stores usually comes from:
- Images without width and height, especially in custom sections
- App widgets that load late and push content down: review stars, “buy now, pay later” messages, trust badges, upsell blocks
- Announcement bars and pop-ups that appear after the page has loaded
- Web fonts swapping in and changing text size
What you control:
- Reserve space for widgets. If a reviews widget always appears under the product title, give its container a minimum height so it doesn’t push things when it loads.
- Check custom sections for images without dimensions or aspect ratio.
- Put announcement bars in the theme, not injected by an app after load.
- Use pop-ups sparingly, and show them as overlays, not as elements that push content around.
Your theme matters most
The theme is the foundation everything else sits on. Some themes are lean; others come loaded with animations, sliders, mega menus and features you’ll never use.
- Shopify’s own free themes, such as Dawn, are built to be lightweight and are a good benchmark.
- Before buying a theme, test its demo store in PageSpeed Insights.
- Turn off features you don’t use in the theme settings: animations, quick view, sticky elements.
- Be careful with heavy customisations. Every custom section adds to the page.
Switching themes is a big job, so it’s worth getting right the first time.
A practical order to work in
- Measure the home page, a collection and a product page on mobile.
- Find the LCP element on each and make sure it isn’t lazy loaded and isn’t oversized.
- Audit your apps and remove the ones you don’t need, including leftover code.
- Fix obvious layout shifts from widgets and banners.
- Simplify the hero and fonts.
- Re-measure. Field data in Search Console takes about 28 days to fully reflect changes, so be patient.
Related reading
- Core Web Vitals in plain English: LCP, FID and CLS
- Shopify SEO basics: what’s different from WordPress
- Image SEO for online stores
- Page speed on a budget: what to fix first
Open your Shopify admin, go to your installed apps, and count them. Then count how many you’d install again today. The difference is usually where your speed is going.