Worried your app’s pages never show up in Google? Single page application SEO works when Google can see real content and crawlable links, and server-side rendering or pre-rendering is the fix to try first.
This page is one part of the wider topic of seo for web apps.
| Item | Value |
|---|---|
| Phases in Google’s JavaScript processing | Three main phases: crawling, rendering, indexing |
| Googlebot fetches in the Vercel and MERJ study | Over 100,000 Googlebot fetches |
| Rendered pages matched to server data | Over 37,000 rendered HTML pages |
| Study window | April 1 to April 30, 2024 |
| Default single-page app rendering strategy | Client-side rendering |
Sources: Google Search Central and Vercel’s research with MERJ. These figures can change, so check the source before you rely on them.
How Google processes a single-page app
Google’s JavaScript documentation says Google processes JavaScript web apps in three main phases: crawling, rendering and indexing. Googlebot queues pages for both crawling and rendering, and it is not always obvious which queue a given page is waiting in. The details are on Google Search Central.
The same page says Google Search runs JavaScript with an evergreen Chromium, so a blanket “Google can’t read JavaScript” is out of date. Even so, the documentation says there are a few things you can optimize, and its troubleshooting guide warns of differences and limitations to account for when you design pages.
Vercel and MERJ tested the old beliefs against real crawl data: over 100,000 Googlebot fetches across various sites, from April 1 to April 30, 2024. Their rendering analysis covered over 37,000 rendered HTML pages, which is a sizeable sample. You can read the method in their write-up.
The pipeline in Google’s web.dev walkthrough runs in this order:
- Googlebot queues URLs and fetches them with an HTTP request based on the crawl budget.
- It scans the HTML for links and queues the ones it finds.
- It queues the page for rendering, and a headless Chromium instance runs the JavaScript.
- It uses the rendered HTML to index the page.
Why client-side rendering creates SEO risk
Web.dev notes that the default rendering strategy for single-page apps is client-side rendering. The HTML loads the JavaScript, which then generates the content in the browser, as the web.dev post explains.
Google’s JavaScript SEO basics in Japanese describe the App Shell model. The first HTML holds no real content, so Google has to run JavaScript to see the page’s actual content.

Links are a second weak point. Web.dev warns that requiring JavaScript to render links can slow discovery of those links, per the same post. Real anchor links in the first HTML avoid that delay.
Rendering is also stateless. According to Vercel’s study, each page render happens in a fresh browser session that keeps no cookies or state from earlier renders, so content tied to stored state will not carry over.
If your app is a software product, the public pages that sell it need the habits covered in saas seo.
Common single-page application SEO problems and fixes
Links that crawlers cannot follow
Googlebot finds new URLs by reading the href attribute of HTML links and adding them to the crawl queue, per Google’s Japanese documentation. JavaScript may insert links into the DOM, provided they follow the best practices for crawlable links. Use real anchor elements with an href for every route you want indexed.
Soft 404 errors
With client-side routing, meaningful HTTP status codes are often impossible or impractical, according to the same Google page. That creates soft 404 pages: error screens that return a success status. The page lists two fixes:
- Use JavaScript to redirect to a URL where the server returns a 404 HTTP status code, such as /not-found.
- Use JavaScript to add a robots meta tag with the noindex value to the error page.
Features Googlebot does not support
Web.dev gives a geolocation example: code that waits for a location permission may show nothing, because Googlebot declines permission requests by default. Check that the feature exists, handle the error case and load fallback content, as shown in the web.dev post.
Blocked scripts and pages
Googlebot reads robots.txt before it fetches a URL. Google’s documentation says Search does not render blocked files or the JavaScript on blocked pages, as stated in the Japanese edition. Keep your script bundles and key pages open to crawling.
Titles, descriptions and canonicals
The title element and meta description can be set or changed with JavaScript, so each route can carry its own. For canonical URLs, HTML is the best place; if you must use JavaScript, set the same value as in the original HTML. Both points come from the same documentation.
Different content for bots
Vercel’s summary says Google prohibits cloaking, meaning different content for users and search engines to manipulate rankings. Avoid code that changes content based on the User-Agent, and see the full post for the reasoning.
Which rendering strategy should you pick?
If you are free to choose, web.dev suggests server-side rendering or pre-rendering. Both run JavaScript on the server to produce the first HTML, which can improve performance for users and crawlers alike, according to the web.dev post.
Your options, in rough order of preference:
- Server-side rendering: the server sends ready HTML for each route.
- Pre-rendering: the same idea, with the HTML generated ahead of time.
- Dynamic rendering: a workaround for when you cannot change the frontend codebase.
Dynamic rendering serves static HTML only to crawlers, so users get none of the performance benefits. Web.dev calls it a stop-gap rather than a long-term strategy in that same article.
Apps that also ship as installable experiences raise further questions, which are covered under progressive web app seo.
How to test your single-page app
Web.dev recommends verifying your domain in Google Search Console so the URL Inspection tool can show the crawling and indexing state of a URL. Work through this routine on your key templates:
- Inspect a representative URL and compare the rendered HTML with what you expect.
- Run the Lighthouse SEO audits for general recommendations.
- Re-test after every release that touches routing or rendering.
Both tools are described in Google’s web.dev guide. Treat them as part of your normal development routine, not a one-off launch check.
Frequently asked questions
Can Google index a single-page application at all?
Show answer
Yes. Vercel’s analysis describes universal rendering: Google now attempts to render all HTML pages, not just a subset. Problems usually come from links, status codes and blocked files rather than from JavaScript itself (Vercel).
Is server-side rendering required?
Show answer
Google’s Japanese documentation suggests it as a worthwhile option, since it speeds up the site for users and crawlers, and some bots cannot run JavaScript at all. That reasoning is in the Google page. Weigh it against how many of your pages need to rank.
Will Google click tabs or cookie banners?
Show answer
Vercel reports that Google will generally not click on items such as tabbed content or cookie banners. Put text you want indexed into the page on load, not behind an interaction (source).
Why can’t my analytics show Googlebot visits?
Show answer
Google says client-side analytics may not give a full or accurate picture of Googlebot and Web Rendering Service activity. Use the crawl stats report in Search Console instead, as described in the troubleshooting guide.



