Technical SEO

How to check what Google sees on a JavaScript page

Open the sample catalog in Chrome to see when its product link appears. Then use Search Console to check what Google receives from a public page on your site.

Add Qreativa as a preferred source on Google

Summarize with:

In the sample catalog, clicking “Show details” reveals the “R2 cart details” link.
On this page

Google can read a product description that JavaScript adds as your catalog loads, even if the server sent an empty paragraph. The link to the product page can appear later. In the sample catalog, a shopper has to click “Show details” before there’s a link to follow.

Pick a phrase and a link destination. Look for each in the HTML your server sends, in Chrome before you click or scroll, and in the HTML from Search Console’s live test. If the link appears only after a click, Google may miss it when it crawls that page.

Before you start

Choose a page, a phrase, and a link to check

1

Open a public page

Choose a category or service page you can open without signing in. Copy the full URL, including any parameters.

2

Pick a distinctive phrase

Copy a few words that describe a product feature or a service detail. Choose wording you won’t also find in the menu or footer.

3

Save the link text and destination

Follow the link as a customer would. Note the words you clicked and the URL you landed on, then return to the page where you started.

Compare the original HTML with the page you see in Chrome

Open your chosen page in Chrome. To follow along with the sample R2 cart catalog (ZIP), extract all five files into the same folder and open catalog.html. You’ll look for the words “The platform height is adjustable” and a link to r2-cart.html.

Right-click a blank area of the page and choose Inspect. The Network panel shows the document Chrome received. The Elements panel shows the Document Object Model (DOM), the browser’s current version of the page. Its contents can change while the URL in the address bar stays the same.

01

Find the original HTML

With Network open, reload the page, select the Doc filter, and click the document for your page. In the exercise, that’s catalog.html. Open the Response tab to see the HTML. On your own site, check the final request URL and HTTP status code in Headers to make sure you received the page you expected.

02

Find the phrase and the link in context

Click inside the response and press Ctrl+F on Windows or Command+F on a Mac. A search for your phrase can also turn up words stored in a script. Count the phrase as product copy only if it appears in the element that displays it, such as a paragraph or table cell. For the link, look for an <a> element whose href points to the product page.

03

Search the DOM on page load

Before you scroll the page or click a button, switch to Elements. Click inside the DOM tree and use the same shortcut to find your phrase. Check which product it describes. In the sample, search for a[href="r2-cart.html"] to find links whose href matches that filename exactly.

04

Repeat the search after a click

Click “Show details” and search Elements again. On your site, try the action a customer would take, such as opening a list of additional products. Record what appeared. If you find a new link, follow it to make sure it opens the product page you expected.

A link can use just the path to a page, without the domain. If a search for the full URL comes up empty, look for the link text in Elements and find the <a> tag around it. Open the link to confirm where it goes.

What the R2 cart test shows

Record the URL, date, and time for each test. The results below reproduce a check of the warehouse cart catalog from November 26, 2026, at 4:45 p.m. In the download, the file is catalog.html and the main heading reads “Warehouse carts.” Use your own phrase and product URL when you test your site. On a small screen, scroll sideways to see the link results.

Test stageCart descriptionLink to the product page
Expected result“The platform height is adjustable.”“R2 cart details” linking to r2-cart.html.
Original HTMLMissing. The description paragraph is empty.Missing. The button stores the URL in data-product-url.
DOM before any interactionPresent. The script has filled in the paragraph.Missing.
DOM after clicking “Show details”Present. The wording stays the same.Present. The <a> element has href="r2-cart.html".
HTML from Google’s live testNot verified. The catalog is a local file.Not verified.

A search for r2-cart.html in the original HTML finds the filename on the button. The script uses it to create a link when someone clicks. To give Google a link it can follow, put the URL in the href attribute of an <a> element.

The button stores r2-cart.html in data-product-url. The “R2 cart details” link points to the same file with href.
Compare data-product-url on the original button (top) with href on the link in the fixed catalog (bottom).

In a support ticket, you could write, “When the catalog opens, customers should already have a link to the R2 cart page.” To see the fix, open catalog-fixed.html and reload it with Network open. The HTML response includes the description and the link. Following the link opens a page headed “R2 cart” even with JavaScript turned off.

Test a live page in Google Search Console

Google looks for links in the original HTML and again after rendering. In Search Console, select the property for your site and choose a public URL it covers. Google can’t fetch the sample catalog on your computer.

01

Check the last crawl date

Paste the full URL into the URL Inspection bar. The first report shows the information Google has on file. Record the date under “Last crawl” if it’s available. If you updated the catalog since then, run a live test to check the change.

02

Inspect the live result

Select “Test live URL” and open “View tested page” when the test finishes. In the HTML tab, find the phrase in the element that displays the description, such as the product paragraph. For the link, look for an <a> element whose href points to the right product page. The screenshot can help you spot a banner or error page.

03

Investigate a missing description

If Chrome shows the description and Google’s test doesn’t, open the “More info” tab. Check the page resources and JavaScript console messages. If the request for product data failed, save its URL and the error message. If there’s no HTML to inspect, record “Not verified.”

Finding both items in the live test tells you what Google received on that visit. To see whether the URL is in Google’s index, return to the initial URL Inspection report. If Google can’t fetch the page at all, start with the access checks in the technical SEO audit guide.

What to ask your developer to change

A description or link missing from the original HTML can still appear in Chrome before you click or scroll. If you also find it in the HTML from Google’s live test, you can keep the current setup. Save the results for the next update to that URL.

If shoppers can reach a product only after clicking “Show more products,” ask your developer to add a link from the category page to the product or to the next catalog page. The destination should also open when you paste its URL into a new tab. You can keep the button for shoppers. Google explains how to make content available without a click or scroll.

When a description disappears as the page loads, send your developer the snippet from the original HTML and the same part of the DOM. Ask them to check whether a script replaced the text with an empty element. For differences between Chrome and Google’s test, see Google’s guide to troubleshooting JavaScript rendering. It explains how to identify script errors and resources that failed to load.

If a failed request leaves the page’s main text blank, ask your developer to include that text in the HTML the server sends. The server can generate the HTML for each request, or your team can build the pages in advance. With a prebuilt catalog, decide how to update those pages whenever prices change. The web.dev guide to rendering on the web compares the two approaches.

Before you close the ticket

  • Retest the same URL after the fix. Record the new date, time, and results alongside the originals.
  • Open the category page without using filters or buttons. Check that the expected phrase appears and the link takes you to the right product page.
  • For a public page, record separate results for the phrase and the link in Google’s live test. If you can’t inspect the HTML, mark each as “Not verified.”

The rendering check worksheet (CSV) has one row for the text and another for the link. Copy the pair for each URL you test. If the same problem affects several categories, send two example URLs to Qreativa’s technical SEO team so the team can check whether the pages share a template.

JavaScript SEO questions

Can a collapsed panel already contain the product description?

Yes. Inspect the panel in Elements before opening it. If its paragraph already contains the description, clicking may simply reveal the text. If the paragraph fills in only after you click, open the HTML tab in Search Console’s live test and check whether that same paragraph contains the description.

Why does a product page work from the catalog but fail when I paste its URL?

JavaScript can display a product page as you browse even if the server can’t serve that URL directly. Paste the URL into an Incognito window. If you get an error or the main catalog opens, send your developer the URL, the HTTP status code, and the page title you saw. Mention that you opened the URL directly.

Add Qreativa as a preferred source on Google

Summarize with: