Why SEO matters
Fact; a study found that on average, moving up one spot on Google’s SERP (Search Engine Results Page) increased the click-through rate by 30.8%.
The same 2019 study by Backlinko.com, analyzing 5,000,000 search results, also found that the number one organic result gets an average of 31.7% of click-throughs.
If your business is like ours, you want to attract as many leads through your web presence as possible. That can make statistics like these equal parts informative and terrifying.
This means that a slight advantage on Google for your preferred keywords – which absolutely should be tied to the core products and services you offer – can mean hammering your competitors (assuming you can convert your traffic).
Background – Develocraft’s new site
At Develocraft, we recently undertook a total brand refresh. As part of this, we were excited to build a brand new website.
We chose to build it from the ground up ourselves with React, rather than rely too heavily on premade solutions like WordPress, for the following reasons:
- We aren’t limited by the functionality and design limits imposed by certain platforms
- It allows us to train our developers in a real environment on skills they may need for our clients
- Our headless CMS allows us to alter any text on the website in a range of ways
- It gives us the option to build our site into a customer data platform
- We now have a testbed for experiments with web development practices that we can use on behalf of our clients in the future
You can see why it’s so important for Google and other search engines to be able to see (and ‘index’) our content. But why couldn’t they? Here’s a blow-by-blow of some of the underlying factors.
Factors that put us at risk
- Although we had some HTML, this was restricted to a very small part of our content, such as section headings and footers.
- Google’s current indexing process (how it finds and makes content available to searchers) is focused on HTML because it defines the actual content of the page.
- Google’s bots – creatively named Googlebot – have a lot more to do when crawling a JS page. The process is more complex, and if rendering takes too long, they may simply skip the page. This can be due to exceeding your ‘crawl budget.’
Common reasons Google can’t render a page
Those are the general causes. Think of the factors that put us at a higher risk of having this issue. However, the specific reasons Google might not render your pages properly can be harder to determine.
Common causes include:
- Timeouts while rendering
- Errors during the rendering process
- Googlebot blocked (usually unintentionally) from accessing important JS files by the website admin
- The site structure didn’t allow Googlebot to discover the page
Why Google couldn’t see our content
- Server-side rendering (SSR)
- Client-side rendering (CSR)
SSR involves supplying the bot with an HTML file describing all on-page content as soon as it arrives. Usually, this is the approach that leads to the fewest problems.
At Develocraft, our server-side rendering was blocked by a bug in the part of our JS script responsible for fetching data from the content management system (in our case – Strapi).
We’d recently introduced a new feature to help us manage the elements of our on-page content, allowing us to easily and flexibly integrate different elements into our case studies, articles, and blog posts.
Inside Apollo, our library solution, queries are created to fetch data flexibly via a heuristic fragment. Unfortunately, our first attempt at introducing this didn’t contain the required code to deliver the fetched information (such as paragraphs of content, images, and so forth) into the HTML received by Googlebot.
In particular, Chapter 3 helped us:
- See if Google could technically render our website.
- Identify possible reasons why it couldn’t.
- Showed us how to use a range of tools to troubleshoot the issue (such as Google Search Console)
If you’d like more detail on how to discover similar problems on your own pages you can follow that link or read on to learn how to use Google Search Console to make sure you aren’t having the same problems.
How to check if Google can index your pages
Google Search Console is invaluable for spotting problems with your page. Here’s how to check if Google can render your JS content, step by step.
Checking if Google can render your page
- Navigate to your Google Search Console (GSC) page.
- Go to the URL Inspection tool.
- Use the Live Test function.
- Click on the screenshot tab.
- Inspect the screenshot to see if Google renders your main content and any other important elements, like links, articles, and products.
- Check the HTML tab for the content, too.
If you’re not seeing the content you want people to find when viewing a SERP, it’s time to take immediate action.
Remember to check all pages on your site. In our case, the Home and Services pages were displaying correctly, but our case studies pages were not.
To be sure, perform these checks several times to make sure it’s not simply a hiccup in your server.
How to see what resources Google couldn’t load
There can be multiple issues with your pages, meaning it’s best to use all GSC features to get a comprehensive view of what’s holding your SEO back.
Clicking the More Info tab in the URL Inspection Tool will display a detailed list of the resources Google couldn’t load, giving you:
- The number of the resources that couldn’t be loaded versus all page resources
- The type of resource, e.g. script, font, or image
- An identifying URL for each
Checking your HTML with Google Search Console
But what if your HTML isn’t being affected properly?
You can find out by taking the following steps:
- Navigate to your Google Search Console (GSC) page
- Perform a URL inspection – found in the bar on the left
- Click ‘View Tested Page’ – this will open a side window on the right displaying the on-page HTML Google could find
- Select some text from the page that you want Google searchers to be able to find, then copy it to your clipboard with CTRL + C or CMD + C
- Go back to the GSC and check to see if the text is making it into the HTML as seen by the bots by performing opening up a search box with CTRL + F or CMD + F
- Paste your copied text into the search box with CTRL + V or CMD + V. Your browser will highlight any matching results. You can also copy the HTML from GSC to work with it in your preferred text editor.
Your next steps
If you discover that you have problems such as these or other technical SEO issues, you can schedule a fifteen-minute call via the Onely homepage. It only takes a moment but can be remarkably valuable to your commercial success.
If you’re interested in having a digital product such as a mobile or web app developed, at Develocraft we have a strong track record of helping founders get their ideas off the drawing board and onto people’s devices. You can find out more about us on the Develocraft website.
Alex Smithers helps Develocraft create content that startup founders, even non-technical ones, will find useful as they build their business. He currently serves as Develocraft’s Content Marketing Manager.
A huge thank you to Kamil Kozicki and Filip Szyler for helping keep this content accurate.
Alex Smithers’ LinkedIn: https://www.linkedin.com/in/alexsmithers/
Develocraft LinkedIn: https://www.linkedin.com/company/develocraft/
Develocraft Facebook: https://www.facebook.com/develocraft/