• AI Bootcamp
  • Marketingová Plzeň
  • SEO Pivo
  • Contact
  • [email protected]
  • Personal website
[email protected]
Personal website
SEO, AI and Marketing Blog
Martin Bangho
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
Home GEO & SEO
Muž v bílé košili vkládá barevný dílek do průhledné sestavy.

JavaScript and SEO: from page loading to indexing

Martin Bangho by Martin Bangho
November 24, 2026
in GEO & SEO
Reading Time: 7 mins read
0
0

Google can run JavaScript. That does not mean it will retrieve all the important content on your website, discover every URL and then include it in the index. When problems arise, you need to separate discovering and fetching the page, rendering it and deciding whether to index it. Only then can you identify what the developer needs to fix.

Do not start by asking whether React, Vue or another framework is “bad for SEO”. Start with a specific URL and the missing information: an unavailable product description, a link to the next listing page or conflicting indexing instructions. The technology’s name alone does not establish the cause.

Crawling, rendering and indexing are different stages

Crawling means exploring and fetching accessible URLs. Google needs to discover a page and access its HTTP response. If access is blocked, editing text in a component will not cure the problem. Rendering means processing the page in a browser environment, including running JavaScript. This can add content to the document that was missing from the server’s original response.

Further reading

Muž v modré košili uvolňuje mechanickou páku mezi dřevěnými bloky.

Render-Blocking Resources: How to Find and Reduce Them

November 24, 2026
Muž v modré košili vkládá modrý kruh do dřevěné vkládačky tvarů.

Search Intent: How to Choose the Right Page for a Query

November 24, 2026
Muž v bílé košili zasouvá modrý díl do dřevěného mostu.

SaaS SEO: from product pages to user activation

November 24, 2026
Google AI Overviews: co jsou a co sledovat na vlastním webu

Google AI Overviews: What They Are and What to Track on Your Website

November 24, 2026

Indexing is a further step: the search engine processes the content for its index and also decides on the canonical version of the page. Successful text rendering is not a promise of indexing or good rankings. Google’s JavaScript SEO documentation distinguishes these stages and also describes the rendering queue.

The documentation describes pages with a 200 response entering the rendering queue unless indexing instructions prevent it. Processing times can vary. It is therefore wrong to claim that Google generally cannot handle JavaScript, but equally wrong to promise that it will always render every page immediately and without errors.

Compare four different forms of evidence, not four screenshots

The first is the server’s HTTP response: status code, headers and HTML. In a browser, you can find it in the Network panel under the document request, for example. The second is the DOM after rendering, the current document structure in the Elements panel. This may already contain data added by a script, but also content created only after a click or login.

The third comes from the live URL test in Search Console. It helps check what Google can retrieve now and, depending on the available details, shows rendered HTML, loaded resources or errors. The fourth is the record of the indexed version, which relates to earlier processing. Note the time and meaning of both checks: a live test does not confirm that this new version is already indexed.

A screenshot alone is not enough. Text may be present in the rendered HTML but outside the captured part of the page. Conversely, an attractive page image does not verify the canonical, indexing instructions or actual link destinations. Look for the specific sentence, attribute and URL. For diagnosis, Google recommends URL Inspection or the Rich Results Test; a valid structured-data test result does not, by itself, prove that the page is indexed.

Choose a sample by template and loading method

Checking the homepage does not test an entire online shop. Choose representatives of important templates: a category, a product or service detail page, an article, a deeper listing page and an error URL. Add a case that loads data from an API and a page where the problem has actually occurred. The sample should capture different mechanisms, not just the most visited addresses.

Also open each URL directly in a clean session, rather than only clicking through from the homepage. An application may use data during internal navigation that it does not have on direct entry. Check page refreshes and behaviour without prior consent, login or saved state. Google notes in its documentation that its rendering service does not retain cookies, local storage or session storage between page loads.

Record the same set of details for the sample: HTTP status, indexing instructions, canonical, title, main heading, key text, main links and image URLs. Alongside each difference, note its impact. The word count before and after rendering is a clue, but it will not tell you whether a condition of the offer is missing or merely repeated navigation.

Address instructions and content access first

Noindex and canonical must not send conflicting messages

If a page should be indexable, do not send noindex in the original HTML with a plan to remove it using JavaScript. Google may skip rendering and never see the change. Check the X-Robots-Tag HTTP header too. The outcome is not determined by a single meta tag in a component.

The canonical should be unambiguous and consistent. Google allows JavaScript to insert it, but advises against changing it to a value different from the original HTML. In practice, it is simpler to provide the correct value in the server response and verify that the client application does not overwrite it. A declared canonical is a signal; in Search Console, also check the version Google selected.

APIs and scripts are part of the route to the text

If a description loads from an API, follow the whole chain. Is the endpoint accessible without logging in? Does it return an error, empty data or a request for authorisation? Are important resources blocked by robots.txt or another access layer? A console error is relevant when you can connect its consequences to the missing content. A long list of warnings alone is not a diagnosis.

After deployment, also check that files are current. Google says its rendering service may cache resources aggressively and may not follow cache headers in the same way as an ordinary browser. It recommends content fingerprints in filenames, such as a new name when a script changes. Clearing your local cache alone does not verify which version the crawler processed.

A link must be a link, and further content needs an accessible route

For important navigation, use <a href="…"> with a real destination URL. A clickable element with a JavaScript handler is not automatically a reliable route for a search engine. Google’s crawlable link guidelines also allow script-inserted links if they have the correct structure. It is therefore inaccurate to say it recognises only links from the original HTML.

For separate pages, do not use a fragment such as #/produkt as the only way to switch content. The application should have accessible, distinct URLs and handle direct entry to them. A nonexistent product needs appropriate error handling, not just an empty application with a 200 status. For client-side applications, Google also describes workarounds using an error URL or noindex; first establish what your server and routing actually support.

Similarly, distinguish visually collapsed content from content that has not yet loaded. An accordion is not inherently a problem. But if terms arrive from an API only after a click, do not rely on Google to click for you. For infinite listings, provide separate permanent URLs for the individual sections and links between them. Google’s lazy-loading guidelines recommend loading when content becomes visible in the viewport without depending on user action, and checking the rendered HTML.

Choose rendering methods according to the page’s needs

With CSR, or client-side rendering, substantial text may appear only after scripts run in the browser. SSR generates HTML on the server for a request, while SSG prepares static pages in advance. Combinations also exist in practice. You do not need to rewrite an entire system just because it uses JavaScript; you need to know which content depends on it and what failure this causes.

For a public service page, category or article, a sensible goal is to make important content and navigation available in the server response. This reduces dependence on further steps. It is not, however, an automatic speed guarantee: a server-side solution can also respond slowly or send unnecessarily large amounts of client-side code.

Research by Vercel and MERJ documented successful JavaScript processing in its April 2024 sample, focused on nextjs.org with supplementary data from two other websites. This does not prove that every website and its current implementation are error-free. Similarly, the Web Almanac 2022 chapter offers historical data on JavaScript and its costs, not a current benchmark of your project.

Also be cautious about recommendations to serve bots through a separate rendering path. Google describes dynamic rendering as a workaround, not a recommended long-term approach. It adds operational complexity. Do not confuse it with server-side rendering of the same content for ordinary visitors.

Googlebot and an AI assistant fetching a page live are not the same thing

Do not automatically extend a Google Search Console result to another search engine, a training crawler or a tool an AI assistant uses to open a URL during a conversation. These are different routes to content. Some can process scripts; others may work only with text obtained from the server response or a previously built index.

For example, a Writesonic test from March 2026 tracked the discovery of markers on a single test page by six assistants. It is a prompt for your own verification, not a permanent catalogue of the capabilities of every bot from those companies. Nor does an assistant’s failure to mention a particular fact establish, without further evidence, whether fetching, rendering, content conversion or the model’s answer itself failed.

Put important information in accessible page content and test the specific environment you care about. Do not remove metadata or structured data based on a single experiment with their transfer into an AI answer. For a broader approach, see optimising a website for AI search.

Give the developer a reproducible problem and acceptance criteria

A hypothetical ticket might read: “On the product detail page in a clean session, delivery terms are missing from both the original response and Google’s live test. They appear only after opening a tab that calls an API. I am attaching the URL, time, server response and rendered HTML. We require the text to be accessible without a click while preserving the current visitor controls.” This is an illustrative brief, not a finding on a specific client website.

Acceptance should verify direct entry, the correct status, consistent instructions and canonical, the presence of the specific text and working links. Add checks of the mobile interface and related templates so the fix does not damage another route. Technically accessible text is not necessarily easy to use; see the relationship between UX and SEO.

After the fix, repeat the same test and retain both the previous and new evidence. Then monitor page processing in Search Console, not just a green live-test result. Assess search performance only with comparable data. A completed JavaScript fix, indexing and business value are three different findings — and each needs its own verification.

Does important content disappear during JavaScript processing?

If you are unsure whether the problem is access, rendering or indexing, I can help define the diagnosis and developer brief. Get in touch with a description of the missing content and a specific URL. We will confirm the scope of the technical review in advance.

Tags: GuideTechnical SEO
Previous Post

Link building: how to earn meaningful backlinks

Next Post

Vectors in SEO: embeddings, cosine similarity and TF-IDF

Martin Bangho

Martin Bangho

I’m Martin Bangho. I’ve worked in digital marketing and built websites since 2015. These days I help companies with SEO and with getting found in AI search. I question things, and I’m picky about the details, but I’m an optimist. I believe marketing can be honest and still make money for a business. When I’m not working on marketing or running my business, you’ll probably find me at the gym, at a hip-hop gig or out with friends. On this blog I write about questions that come up with clients, what I test myself and what I make of the results. Hermes, my AI assistant, helps me write. I bring the notes, the results and my own take. Hermes helps me structure the article, catch grammar mistakes and get back to the point when I’ve gone off on my third tangent in the middle of a sentence. I review and edit every article myself before it goes out, so it says exactly what I mean.

Related articles

Martin Bangho in a white shirt examines two sheets with blue and grey website layouts using a magnifying glass at a wooden desk.
GEO & SEO

Buying a website: how much of its organic traffic is valuable to you?

November 25, 2026
Martin Bangho compares blue and sand-coloured folding-chair models with their matching photo cards.
GEO & SEO

Visual discoverability: connecting images to the right product and location

November 25, 2026
Jak vybrat copywritera?
GEO & SEO

How to Choose a Copywriter

November 24, 2026
SEO GAP Analýza
GEO & SEO

SEO GAP Analysis

November 24, 2026
Next Post
Muž v modré košili nastavuje modré směrové tyčky v malém podstavci.

Vectors in SEO: embeddings, cosine similarity and TF-IDF

Odebírat
Upozornit na
0 Komentáře
Nejstarší
Nejnovější Nejlépe hodnocené

Martin Bangho

SEO Consultant & AI Strategist

I use data to build marketing plans with people across a business, from sales and development to content. The aim is to strengthen the brand and help it compete.

Tags

Analysis B2B B2C Brand E-commerce Event reports Google Guide Hermes Off-page SEO On-page SEO SaaS Technical SEO Theory Tools User Experience Websites

Latest posts

  • Buying a website: how much of its organic traffic is valuable to you?
  • Visual discoverability: connecting images to the right product and location
  • How to Choose a Copywriter
  • SEO GAP Analysis
  • How to Create a Content Calendar
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN

© 2025 Martin Bangho – SEO Consultant & AI Strategist

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • Home
  • GEO & SEO
  • AI
  • Marketing
  • CS
  • EN
[email protected]

© 2025 Martin Bangho – SEO Consultant & AI Strategist

This website uses cookies. By continuing to use it, you agree to their use. Read our privacy and cookie policy (in Czech).