- tutoriel
Preview your unpublished products on your Shopify dev theme with one click
Summarize this article
A Shopify store can post a strong Lighthouse score and still feel slow to customers. A harsh lab setup may understate the experience delivered to real visitors.
A useful Core Web Vitals audit connects real user experience and repeatable lab evidence to the theme or third-party code causing the delay. It produces a prioritized engineering plan with a verification method.
Each Core Web Vital covers a different part of the visit.
Time to First Byte, First Contentful Paint, JavaScript weight and the critical path help expose the cause. They support the diagnosis without replacing field Core Web Vitals.
Field data comes from real visits. It shows whether eligible users experience a problem, but low-traffic pages may have no usable sample. Lab data provides a repeatable trace and network waterfall. It does not represent the full customer base.
| Source | Best use | Limitation to record |
|---|---|---|
| CrUX or Search Console Core Web Vitals | Aggregated experience from eligible real users | Date window, URL grouping, coverage and gaps on low-traffic pages |
| First-party RUM or a monitoring platform | Segmentation by template, country, device, consent state or release | Instrumentation quality, sampling, privacy rules and operating cost |
| Lighthouse or PageSpeed Insights lab data | Repeatable trace, dependency tree and diagnostics | Run-to-run variation and a narrow test scenario |
| WebPageTest or a DevTools performance trace | Waterfall, network priorities, JavaScript tasks and run comparison | Configuration must remain identical when comparing changes |
Do not average a lab score with a field percentile or compare different consent states. Context is part of the measurement.
The homepage is not a representative sample. Include the templates and journeys that carry the business: collection, search, a simple product, a product with variants, cart, customer account, and editorial content where it attracts meaningful traffic.
Include markets with different content, apps, tracking or media. For every URL, record device class, network profile, cache state, consent state, login state and theme version. Without that register, two similar screenshots may come from different test conditions.
Start with the usage data you have. Segment by page family and device where the source allows it. Look at the distribution rather than relying on an average. A decent median can hide a poor experience for customers on slower devices.
Attach a source, date window and coverage statement to the baseline. If the sample is missing, say so. No data does not mean no problem.
The lab is where investigation happens. Run the same page several times under stable conditions and retain the median plus the full traces under a documented protocol. Do not select the best run for the report.
A page-load test cannot diagnose INP on its own. Record actual interactions: open navigation, change a variant, launch a modal, search and add an item to the cart. The trace needs to capture the task delaying the next visual response.
For CLS, keep watching after the first viewport appears. Consent banners, review widgets, availability messages, personalization, recommendations and app content may arrive later.
A Shopify storefront combines Liquid and theme sections with media, fonts, theme JavaScript, pixels, apps and often a tag manager. Every meaningful request and long task should have an identifiable owner.
For every resource, record its source, affected templates, rendering impact, consent behavior and current business owner.
Removing an app from the admin does not prove that every theme fragment is gone. Check app embeds, old snippets, hard-coded scripts and tags deployed through other systems.
| Symptom | Shopify-specific checks | Useful test |
|---|---|---|
| Slow LCP | oversized hero, wrong image variant, late resource discovery, render-blocking font, main content revealed by JavaScript | identify the LCP element, inspect the waterfall, then check priority, dimensions, format and discovery order |
| Poor INP | large JavaScript bundles, global listeners, expensive variant rendering, search or personalization app, poorly timed vendor tag | record the interaction, isolate the long task, attribute the script and compare a controlled disablement |
| High CLS | missing image dimensions, unreserved app slot, late banner, font geometry change, dynamic content inserted above the viewport | replay with layout-shift regions, reserve space and test mobile and desktop |
| Unstable TTFB or initial render | redirects, location logic, context-dependent response, calls required before rendering, noisy external test | compare canonical URL and redirect path, repeat by region, separate server response from front-end work |
A recommendation should name the resource or component. "Optimize JavaScript" gives nobody a clear next step. "Delay the review widget on templates where it does not appear above the fold, then regression-test reviews and INP" does.
Rate each action by observed user impact, confidence in the diagnosis, delivery effort and commercial risk.
| Priority | Example decision | Verification gate |
|---|---|---|
| Fix now | the LCP element is known and receives an unsuitable media asset | compare before and after on the same URL and protocol |
| Run a contained test | a vendor script appears to block input but supports a required feature | test with the business owner and a regression scenario |
| Include in a rebuild | shared JavaScript architecture creates the same issue across templates | document blast radius, migration path and full QA requirement |
| Monitor | field evidence or sample coverage is too weak | instrument the journey or wait for a valid measurement window |
A lab improvement is not complete when the code ships. Recheck core journeys, markets, consent states, apps and representative devices. Field data then needs its own observation period.
The merchant and delivery team control the theme, media, fonts, load order, much of the storefront JavaScript and many vendor scripts. Apps can be removed, reconfigured or replaced once their business role is understood.
Shopify controls parts of the platform and selected journeys. An agency cannot rewrite every layer as it might on a fully custom stack. Checkout behavior, extensions, pixels and available customization depend on the plan, APIs and rules in force.
That boundary does not prevent meaningful performance work. It means the audit must separate controllable causes, platform constraints and external dependencies. A universal score promise across every page, market and device would not be credible.
A contained optimization makes sense when a few media assets, scripts or components account for most of the issue. A technical rebuild may be the safer choice when the same debt appears everywhere: global JavaScript that cannot be split, duplicated components, tangled app dependencies, no media conventions, or an architecture that loads every feature on every page.
An executable audit includes:
No. Lighthouse is useful for controlled diagnostics. Decisions also need field experience, commercially important templates and real interactions.
No. An app may earn its technical cost by supporting a required function. Measure its impact, check where it loads and compare configuration, conditional loading, replacement and native development.
No. The metrics cover loading, responsiveness and stability. Removing friction may help a journey, but a conversion claim needs its own baseline, period and validated source.
Repeat it after a rebuild, a major theme change, a heavy app rollout or a substantial tracking change. Between those events, use monitoring and a performance budget.
BlackSwan connects field evidence with repeatable traces, then attributes each recommendation to the theme, media, apps or vendor scripts involved. The resulting plan can support a focused correction, an ongoing maintenance roadmap or a technical rebuild.
Request a Shopify performance audit
You can also compress an MP4 with the Shopify Video Optimizer before adding it to the theme. Always review the final asset inside the live page context on mobile and desktop.
By Philippine Andrault
Read also:
Preview your unpublished products on your Shopify dev theme with one click
Optimize an MP4 video for your e-commerce website