Skip to content

Case Study – HubSpot CMS Optimization – 203% performance increase

By creating a Custom Theme in the HubSpot CMS, and migrating the content to the new theme, we achieved a performance  increase of 203% on mobile and 119% on desktop. 

The website is now faster, with an improved User Experience and easier for the team to manage.

HubSpot CMS Hub Logo
Stelray Plastic Products Homepage
Stelray Plastic Products Homepage

The team at Stelray Plastic Products, based in Connecticut, love HubSpot and enjoy working on their website using the HubSpot CMS. But, their SEO Company told them their website was too slow and that they would have to build a new website in a different CMS.

After getting the bad news from their SEO company (who also sold websites) Ann reached out to the HubSpot Community for advice. After discussing the site in the HubSpot Community we jumped on Zoom to run an audit and make a plan.

Webalite created a new HubSpot Theme, based on the current design (with a few enhancements) and then migrated the content to the new theme (keeping all URLs the same for SEO).

Skills, efficiency, exceeding expectations for HubSpot Website Development.
Mike has been a wonderful asset to our team. He is incredibly knowledgeable who solve issues and is ahead of us bringing items to our attention to take our website to the next level. We are grateful for his expertise, attention to detail and efficiency of getting us where we need to be maximizing our investment of HubSpot.

– Ann Canfield, Stelray Plastics
Source: Reviews in HubSpot's Marketplace

The Results

Using Page Speed Insights we could see the website, with the old theme, had a Performance Score of 36 on Mobile and 82 on Desktop. With the new theme achieved a Performance Score of 73 on Mobile and 98 on Desktop.

  • Mobile – Performance Increase of 203%
  • Mobile – First Contentful Paint* (FCP) increased by 155%
  • Mobile – Largest Contentful Paint* (LCP) increased by 316%

*Google's Core Web Vitals, measured with page Speed Insights, are explained below.

Before and After the HubSpot CMS Optimization

Mobile – Before

before-mobile-pagespeed-above-fold

Mobile – After

after-mobile-pagespeed-above-fold

Desktop – Before

before-desktop-pagespeed-above-fold

Desktop – After

after-desktop-pagespeed-above-fold

HubSpot CMS and Google’s Core Web Vitals

In 2020 Google introduced Core Web Vitals to measure and standardize website and page performance so they could serve searchers “better” quality websites in the search results.

“Core Web Vitals is a set of metrics that measure real-world user experience for loading performance, interactivity, and visual stability of the page.”

Source: Understanding Core Web Vitals

Having designed and developed websites for decades, using other tools to analyze performance and speed, I found the Core Web Vitals the most demanding metrics I’ve ever seen.

The Core Web Vitals

  • Largest Contentful Paint (LCP): Measures loading performance. To provide a good user experience, strive to have LCP occur within the first 2.5 seconds of the page starting to load.
  • First Input Delay (FID): Measures interactivity. To provide a good user experience, strive to have an FID of less than 100 milliseconds
  • Cumulative Layout Shift (CLS): Measures visual stability. To provide a good user experience, strive to have a CLS score of less than 0.1.

These website tests set a high bar for every website, even Google's homepage performance score is only 72 on mobile and 94 on desktop!

The HubSpot CMS, like any CMS, requires time and effort to optimize it for the visitors and search engines. The good news is with some time and investment you can optimize the HubSpot CMS effectively.

Swiss Army Knife vs. Chef's Knife

Consider a Swiss Army Knife – it has a knife, a pair of scissors, a fish scaler, a can opener, a bottle opener, that spike nobody uses, and more. Lots of features but none of them are particularly optimized for the task. Sure it's portable, but the more features you add the less functional the features become.

We consider a Custom Theme more like a chef's knife – super sharp, easy to use and efficient. If you need a fish fileting knife then we will add that specialized tool to the knife rack – it also does one job, extremely well. And, to open a bottle of wine while cooking, I would always reach for a corkscrew, not a Swiss Army Knife.

With that in mind, imagine trying to cook dinner using just a Swiss Army Knife.

stelray-homepage-400x1200px
stelray-homepage-400x1200px

Technical and Design Solutions

How we achieved such a significant increase in performance with the same (sometimes more) content on the page:

Custom Theme

All themes in the marketplace are full of features (like a Swiss Army Knife) designed to accommodate as many different use cases as possible.

With a Custom Theme we do one job, and one job well. We customize the code to make the content more consistent (within the brand envelope) and fast.

Custom Modules

Similar to the themes, the marketplace modules are designed to be as flexible as possible, for as many customers as possible.

We coded custom modules to do single jobs effectively and efficiently. Custom modules work quickly and easily, and they optimized for as many devices as possible using a "responsive" (mobile friendly) design.

Custom Templates

We created a complete set of Custom Templates for each theme:

  • Homepage – this page is usually unique
  • General Page – we remove all the superfluous templates with default content
  • Landing Page – a typical Landing Page has no menus, nor distracting footers, so the visitor is not distracted.
  • Landing Page with menus – this Landing Page is similar to other site pages but doesn't appear in the sitemap, nor Google (unless it has inbound links).
  • Thank You Page – a Landing Page with menus, always hidden from search engines.
  • Blog Listing Page – a collection of Blog Posts, filterable by tags.
  • Blog Page – a single Blog Post, typically with a sidebar for related content.
  • System pages – 404 Error page, 500 Error page and other system pages.

Image Compression

We used specialized tools that compress images significantly, without compromising quality. HubSpot does a good job of optimizing images and uploading pre-compressed images, without metadata, makes the images even faster.

Icons vs Icon Fonts

Loading Icon Fonts (e.g. Fontawesome) in your website slows down the page and can create Cumulative Layout Shift (CLS). We prefer to optimize individual SVG files and lazy load them as images to improve performance.

Branding vs. Creativity

When designers create brands they spend hours creating a set of layouts, colors, fonts and styles to represent your brand. With a Custom Theme we can implement the designers Style Manual so you can quickly create content that’s on-brand. This also saves time for the content creator because the fonts and colors are preset.

Website Theme Guide

As part of the Custom Theme Webalite delivered a page, in the HubSpot CMS, showing all of the features of the theme including Templates, Custom Modules, Colors and Typography.

This guide makes it easy for the team to see what’s possible in the HubSpot CMS.

Content Migration

Because the previous theme used older HubSpot Templates (before Drag and Drop Templates) each page was manually upgraded to the new theme.

During the migration we were able to ensure all the existing content was transferred and the styles updated.

Responsive Design

We implement a Custom Theme that automatically adjusts to different device sizes (responsive) so people using the HubSpot CMS can focus on creating excellent content rather than juggling technical issues.

Responsively Browser Emulator used to test the HubSpot CMS Theme

We recommend Responsively.app to test designs simultaneously, on different screen sizes, before testing the design on real devices.

Frequently asked questions about HubSpot and Core Web Vitals

Why aren’t all the numbers in Core Web Vitals Report 100% after the upgrade?

  • You can get a perfect score by simplifying everything and reducing content until you have very little left on the page – we worked on a balance of content, design and user experience.
  • We chose to use external systems for analytics, social media and advertising e.g. HubSpot, AdWords, etc. All these external scripts slow down the page, but the benefits outweigh the performance drop.
  • We like to balance ease of use for the content creator so they can easily add content. For a technical expert it is possible to make the page faster but the time involved typically outweighs the gains.

Why are the speeds different for Mobile and Desktop?

The download speeds, and processing speed, on a mobile phone are significantly less than a desktop. Google will always prioritize mobile performance, and content, because most people view web pages on their mobile phone (even if your website has significantly more desktop traffic).

Why do the speeds vary at different times?

The speed tests vary and represent the actual inconsistency of the internet. While this is frustrating to work with, it’s completely normal. The Real Time data gives you a better picture of what visitors are experiencing.

What is the Real Time data?

Google uses Real Time data, from real users (that have given consent), that use the Google Chrome Browser. The data shows the actual experience of visitors using Google Chrome.

This data displayed is the average from the last 28 days so it will take a while to update after a website redesign.

Why does the Cumulative Layout Shift (CLS) differ from Mobile to Desktop?

The website uses a narrow font, which must download before it can be rendered (the first time you view the page – after that it's cached). On desktop the download speed is much faster, and it renders faster, so there is less perceptible change.

How can I check my website?

Visit Page Speed Insights and enter your URL to see a real time display of your page's analysis.

How can I optimize my website?

If you would like to discuss your website and how to optimize it for visitors and search engines please book a meeting with Mike Eastwood.

Webalite is a certified HubSpot Partner Agency & App Partner 

gold-horizontal-color
app-partner-300px-webp
Creative Commons Logo