The City Mattress Shopify site is failing 3 of the 4 core site speed performance metrics on mobile devices.
The City Mattress Shopify site is failing 2 of the 4 core site speed performance metrics on desktop devices.
The most important metric to note is Largest Contentful Paint (LCP). The site’s LCP is above industry standard time for both mobile and desktop sites.
Not only is LCP the most common way to measure a website’s load time, poor LCP will have negative effects on conversion rates and bounce rates (which will have a negative effect on SEO rankings and paid marketing performance).
It is very likely that the site’s conversion rate would be improved by optimizing the site’s page load time.
The primary technical issue slowing down the site’s load time is excess Javascript/HTML/CSS code present in the site. This is a the most common occurrence in ecommerce sites hosted on Shopify. Every app installed, theme change, and third party script (i.e. Facebook Pixel, Google Analytics, etc.) injects code into the site. Even if the app/theme is removed, the code stays behind, accumulating over time.
I recommend a codebase audit to remove the excess/unused code. This will have positive impacts on the page load time, which will have positive impacts on conversion rates, search ranking, paid marketing performance, and overall customer experience.
For more information about optimizing the site, visit the section titled Next Steps.
Mobile Page Speed Audit
Summary
The City Mattress shopify site is failing 3 of the 4 core site speed performance metrics: First Contentful Paint (barely), Largest Contentful Paint, and Total Blocking Time.
The most important metric to note is Largest Contentful Paint (LCP). The site registered an LCP of 19.5 seconds on mobile devices. It’s recommended that ecommerce sites have an LCP of 2-3 seconds on mobile devices.
Not only is LCP the most common way that a website’s load time is measured, poor LCP time will negatively effect the sites conversion rate and bounce rate (which will hurt its organic search ranking and paid marketing performance).
There are two technical issues that are causing the poor performance on mobile:
Excess/Unused Javascript, HTML, and CSS code
Slow main thread loading, likely due to the excess/unused code present in the site.
Results
First Contentful Paint: 2.1 seconds
Explanation: First Contentful Paint (FCP) measures how long it takes for content to start appearing on a website. This is typically an empty box or plain text. It’s the first pixels rendered in for the site.
Optimal time for ecommerce sites is < 1.8 seconds.
Largest Contentful Paint: 19.5 seconds
Explanation: Largest Contentful Paint (LCP) measures how long it takes for a website to display its biggest single content element. It's one of the most common ways to measure page load time.
Optimal time for ecommerce sites is < 2.5 seconds.
Total Blocking Time: 16010 ms (16.01 seconds)
Explanation: Total Blocking Time (TBT) measures how responsive your site is to user input (i.e. if the user performs an action, such as click a button, how long before the next action can be performed).
Optimal time for ecommerce sites is < 0.3 seconds.
Cumulative Layout Shift: 0.02
Explanation: Cumulative Layout Shift is a measure of how “stable” your website it after it first renders. A website that has content shift down as more object load will have a higher score. Cumulative Layout Shift is one of the core ranking factors for Google.
Optime score for ecommerce sites is < 0.1.
Speed Index: 26.9 seconds
Explanation: Speed Index (SI) measures how quickly content appears on your website. The value is determined visually by analyzing screenshots of your website during the page load process. Speed Index is a lesser important metric comparatively; however, optimizing it will benefit the Largest Contentful Paint (LCP).
Optimal time for ecommerce sites is < 3 seconds.
Optimization
Accord to the PageSpeed results, there are 3 technical issues slowing down the website:
Reduce Javascript execution time / Remove unused Javascript, HTML, CSS
In short, this means that there is a substantial amount Javascript, HTML, and CSS code that is slowing down the site. There are four ways that Javascript code can accumulate on your site: when you connect a new Shopify app, when you use certain themes, when you use third-party scripts such as Facebook Pixel or Google Analytics, and if you have custom code on your site. The biggest culprit is Shopify apps. Each app “injects” a bit of code into your site. Even if the app is deleted, the code it injects stays behind. Over time, this code will slow down your site’s load time.
Minimize main-thread work
Main thread overload happens when too many tasks, like heavy JavaScript execution, complex CSS code, and third-party scripts, are processed simultaneously. This slows down the site’s load time. The best way to fix this is to delete unused Javascript, compress essential Javascript code, and remove unnecessary third party scripts.
Reduce the impact of third-party code
Third-party scripts, such as ads, analytics, and social media widgets, can slow down your site. Delaying the firing of analytics, or deferring them from using the main thread, can improve performance.
Desktop Page Speed Audit
Summary
The site has much better performance on desktop devices than on mobile devices; however, the Largest Contentful Paint (LCP) time is much slower than what is recommended for ecommerce sites.
The site is has an LCP of 10.0 seconds on desktop. It’s recommended for ecommerce sites to have an LCP between 1 - 3 seconds on desktop.
The slow page load time from a high LCP is likely having a negative effect on conversion rates.
The same technical issues that are effecting the site on mobile devices are effecting the site on desktop.
Results
First Contentful Paint: 0.6 seconds
Explanation: First Contentful Paint (FCP) measures how long it takes for content to start appearing on a website. This is typically an empty box or plain text. It’s the first pixels rendered in for the site.
Optimal time for ecommerce sites is < 1.8 seconds.
Largest Contentful Paint: 10.0 seconds
Explanation: Largest Contentful Paint (LCP) measures how long it takes for a website to display its biggest single content element. It's one of the most common ways to measure page load time.
Optimal time for ecommerce sites is < 2.5 seconds.
Total Blocking Time: 5600 (5.6 seconds)
Explanation: Total Blocking Time (TBT) measures how responsive your site is to user input (i.e. if the user performs an action, such as click a button, how long before the next action can be performed).
Optimal time for ecommerce sites is < 0.3 seconds.
Cumulative Layout Shift: 0.003
Explanation: Cumulative Layout Shift is a measure of how “stable” your website it after it first renders. A website that has content shift down as more object load will have a higher score. Cumulative Layout Shift is one of the core ranking factors for Google.
Optime score for ecommerce sites is < 0.1.
Speed Index: 10.2 seconds
Explanation: Speed Index (SI) measures how quickly content appears on your website. The value is determined visually by analyzing screenshots of your website during the page load process. Speed Index is a lesser important metric comparatively; however, optimizing it will benefit the Largest Contentful Paint (LCP).
Optimal time for ecommerce sites is < 3 seconds.
Optimization
Accord to the PageSpeed results, there are 4 technical issues slowing down the website:
Reduce Javascript execution time
In short, this means that there is a substantial amount Javascript, HTML, and CSS code that is slowing down the site. There are four ways that Javascript code can accumulate on your site: when you connect a new Shopify app, when you use certain themes, when you use third-party scripts such as Facebook Pixel or Google Analytics, and if you have custom code on your site. The biggest culprit is Shopify apps. Each app “injects” a bit of code into your site. Even if the app is deleted, the code it injects stays behind. Over time, this code will slow down your site’s load time.
Minimize main-thread work
Main thread overload happens when too many tasks, like heavy JavaScript execution, complex CSS code, and third-party scripts, are processed simultaneously. This slows down the site’s load time. The best way to fix this is to delete unused Javascript, compress essential Javascript code, and remove unnecessary third party scripts.
Optimize Largest Contentful Paint (LCP)
The LCP takes up a considerable amount of main thread resources when loading. As a result, it needs to be optimized through image compression, preloading important page elements, and eliminating unused CSS and Javascript files.
Reduce the impact of third-party code
Third-party scripts, such as ads, analytics, and social media widgets, can slow down your site. Delaying the firing of analytics, or deferring them from using the main thread, can improve performance.
It’s common for the same technical issues to affect the site on mobile and on the web. The issues are extenuated on mobile due to the lower processing power.
Next Steps
Anyone selling products on the internet should think about their website’s speed. It plays a major part in how effectively a website can turn visitors into paying customers.
found that a 0.1 second improvement in website speed can increase overall conversion rates by 8.4%.
Other sources have found interesting links between fast site speed and better SEO, lower cost acquisition costs when using paid ads, and an increase in repeat purchases.
Let’s make it real with an example. Let’s say an ecommerce site get’s 100,000 visitors per month and has a 3% conversion rate.
If that site is optimized for speed, and see a 20% increase in conversion rates, it would go from 3000 sales/month to 3600 sales/month. At an AOV of $30, that’s an addition $20,000 per month in sales for every 100,000 visitors.