Shopify speed optimization in 2021 – 22 tried and tested ways to speed up your Shopify store
Shopify speed optimization in 2021 – 22 tried and tested ways to speed up your Shopify store
Do you know if your web store takes more than 3 seconds to load, you lose 53% of your potential customers?
Since we are into designing and developing Shopify stores so we hear about our clients pain points all the time. We have helped them in every possible scenario that is why we thought of jotting down a list of tips for Shopify speed optimization.
22 tips may seem a lot but some of these tips may take only 5-10 minutes whereas others may take a couple of hours or days. Point is, you will be able to fast track your store conversion with these useful tips.
Organize your all tracking codes by using Google tag manager
Google tag manager is a free tool from Google through which you can track of your website codes and make it work efficiently.
The tool loads all the external scripts (tags) be it Google Analytics, tracking codes, or the ones your Shopify theme uses in just SINGLE request instead of putting twenty different requests.
Good thing is, GTM also loads JS files asynchronously which means other elements of the page can finish loading while JS files are in progress.
After creating an account on GTM (Google Tag Manager), you can easily implement GTM into Shopify GA settings. Shopify admin and themes are the places where you can set this up conveniently.
Don’t crowd your homepage with unnecessary sections/code
No matter how much optimization you try on your store, it’s useless if you are using too much stuff i.e. code, sections, images, hence slowing the speed.
The homepage is important here, why? If the homepage is crowded, there are chances that your bounce rate is high. And nobody wants a high bounce rate on the homepage as this is the landing page from where users usually move on to the inner product pages.
User experience is crucial, which is why, whenever we sign a contract with the client we study their visitors and their behavior i.e. how much of their homepage actually got viewed. And according to our experience, almost 50% of the store’s homepage is visited with a few pages interaction.
There two quick ways for homepage optimization. First, track your visitors using heatmaps. Second, integrate GA (Google Analytics).
Rest for improvement in user experience, you should hire UI/UX experts as every store/vertical needs different web design treatment.
Product image optimization, compress images or reduced image dimensions
Ecommerce stores are image-heavy in general and that is a common mistake that most of people skip or overlook. You need small images with small file sizes for quick loading times.
Shopify recommends 2048×2048 pixels for product images. If the images are larger than the given one, they are the prime sources for lowering page speed. However, resizing an image is no more a hassle with so many tools out there.
Shopify image resizer is a common and useful tool. Just upload an image and set dimensions to medium. Once you get a message that ‘your image/s has been successfully resized, download them below’, download images.
Tip – Image optimization tool of Shopify is the best in terms of simplicity and it gives an instant speed boost.
Choose lightweight Shopify theme
Do you know loading times vary across Shopify themes? An average theme takes 3.8 seconds to load. This could be a benchmark for assessment.
We have a list of top performing Shopify themes tested on Google PageSpeed Insights by gofishdigital.
Also, while choosing a theme for your Shopify store check an updated copy of the theme and do look into the live preview of the theme. Open Google PageSpeed Insight and run theme preview page there and then see suggestions on making that page faster.
Accelerated Mobile Pages (AMP), an open standard framework
AMP is an open framework specifically designed for publishers and in Shopify, you can easily generate AMP pages. It’s an evident fact that mobile users are growing and almost 50% traffic is from mobile.
FireAMP and RocketAmp are the apps you can use and both of these apps have over 4stars rating on Shopify App Store. Another option is developing a Shopify API for AMP pages.
Ask yourself few questions:
-Do all product images aligned properly on mobile devices?
-Is navigation easy on mobile?
-Are CTAs/buttons big enough and user friendly?
-Is the checkout experience pleasant?
-Is checkout experience is with minimal touchpoints?
If you are already using Shopify Plus, this tip is not for you.
Host large video files externally i.e. on YouTube, Vimeo etc.
Page size may not be a really big factor but it does affect page speed. Video content increases loading times and we can solve this issue by hosting videos on YouTube or Vimeo.
Free up your server by hosting product videos on Youtube. Create a YouTube channel and put all of your videos there. Copy embed code of any video and paste in your website (blog/product page).
On Youtube, upload a video and go the video page. Below the video you find a ‘Share’ option. After clicking ‘Share’ you will see the above image. Click on ‘embed’.
Copy the code from here and paste wherever you want on your web store.
Mobile-responsive Shopify theme reach more customers
In this time and age, the mobile responsiveness is pretty obvious.
What is a responsive design? A design which allows you to set a website that changes dynamically according to different screen sizes (mobile and desktop users).
So whenever you are picking a Shopify theme, do test its responsiveness. Inside Google Chrome it’s easy.
Open Google Chrome – Go to View – Developer – Developer Tools – screens icon
Click on the screens icon and you will be able to toggle on different screen sizes.
Quick view pop-ups, see if customers are using them
Quick view pop-ups are used for customer’s ease i.e. a customer doesn’t have to go to the product page and can see the product on the listings page. However, they add tons of load time.
Now you should assess which one of your product pages should have them. Get some data like which products are the most popular? Which products do you want to sell more? You should examine such pages and reduce unnecessary ‘quick view’ pop-ups.
Nested collections increase load times
If you have 20 collections with 500 products each i.e. 10,000 (20×500) operations.
Customers don’t care about carousels, use them with hero layout
Carousels may look appealing but hardly play any role in improving customer experience. Customers don’t care about the carousels. Also, they often look off on mobile view.
We recommend using hero layout. This is the layout with a single high quality image, an attractive caption and clear call-to-action (CTA) button.
Here is what we designed for one of our clients.
Project – Mvintage
Use PageSpeed Insights tool for Shopify speed optimization
Let us name some of the top tools for Shopify speed optimization i.e. Google Search Console, Screaming Frog, WAVE, Google Optimize and GTMetrix.
You can use any of the tools.
We used PageSpeed Insights. Example screen is given below.
SEMrush page is used as an example. The score is 51 and it’s not so good.
According to Google:
Page Speed Insights measures the performance of a page for mobile devices and desktop devices. It fetches the url twice, once with a mobile user-agent, and once with a desktop-user agent.
The PageSpeed Insights Score ranges from 0 to 100 points. A higher score is better and a score of 85 or above indicates that the page is performing well.
Reduce inefficient liquid code render time
Inside Shopify you can almost edit all of the Liquid code for improving the render time of the store.
Google Chrome can help you in this regard. Run ‘Shopify Theme Inspector for Chrome’, it identifies the code lines slowing your store/pages. Remember, the Shopify Theme Inspector for Chrome is developed with the developers in mind. Merchants or partners may not feel comfortable reading or editing code. If you are one of those, hire for the services rather.
Use common font styles
You can choose different fonts for your Shopify store. In case, you are not using common fonts, it would take time on customer’s system as it would be downloaded first.
To avoid this situation, you system fonts. A system font is the one which is already installed in almost every computer. Shopify recommends following fonts.
-Times New Roman
Performance analysis, troubleshooting tools
This could be the first or last step of Shopify store speed optimization. We put this tip in the last because after you are done doing all of the above, you can calculate the impact.
Like we mentioned earlier, there are many tools which you can use. However, Shopify uses an inside tool i.e. Lighthouse for measuring the speed of your store. You can use this tool with Google PageSpeed Insights for more detailed metrics.
So, we handed over the list of top actions/ practices you can do for improving Shopify store speed. Some of the practices may consume time but you will see the difference in no time and that is what we know for sure.
Phaedra Solutions is a professional Shopify and ecommerce service provider. If reading the above blog is still confusing for you and you are unable to make the right decision or take the right steps, we will be happy to help.