Technical SEO
Infinite scroll in an online shop: how Google finds products beyond the first page
An online shop can retain infinite scroll while giving Google a route to later products. Each batch needs a persistent URL that opens with its intended products, sequential HTML links to other batches, and a browser address that updates when the new batch becomes the main visible content.
Infinite scroll lets shoppers browse an online shop category without moving to another page. But how does Google find products beyond the first batch? If those products appear only after someone scrolls or presses a button, a working interface tells you little about the links available to a crawler. Give each batch a lasting address and connect the batches with ordinary links. Continuous browsing can then sit on top of that paginated foundation, as described in Google's guidance on incremental loading for ecommerce.
Why the visible catalogue and the crawlable catalogue may differ
A category might return its first product cards, then use JavaScript to append more as a shopper reaches the bottom. The shopper sees a growing list. Google, however, generally discovers URLs through the href attributes of HTML <a> elements. Its crawlers do not click buttons and generally do not trigger functions that require user actions to reveal more content, according to its pagination documentation. Watching products load in a browser therefore does not establish that the category provides a route to later batches.
JavaScript itself is not the obstacle. Google says a script can insert a crawlable link into the rendered page if the resulting element is an anchor with a resolvable href (link best practices). The distinction is between a link to another address and a click handler that changes only the current screen.
Google also names sitemaps and Merchant Center feeds as additional ways to help it discover products. Those routes are useful, but they do not give shoppers a way to bookmark a later position in the category or return to it after reloading. Finding an individual product by another route is a different question from whether the category itself has navigable later pages.
Pagination, load more and infinite scroll serve different browsing needs
Ordinary pagination makes the boundaries of a long list visible and gives shoppers a page they can revisit. Moving on requires another page transition. A load-more button keeps them on the category while letting them decide when to expand the list. Infinite scroll removes that action, but it can make their position less clear. Google describes the trade-offs of each pattern, including the strain a very long list can place on a single page with incremental loading (Google's comparison).
For discovery, the visible control is less important than the addresses beneath it. A load-more button or automatic loading can coexist with a linked sequence of pages. Equally, a control that looks like pagination but has only a JavaScript handler does not provide the next-page link Google recommends. Choose the interaction that suits shoppers, then specify the page URLs and links separately. A design preference should not have to carry the entire technical SEO decision.
What a persistent batch URL must do
Google's infinite-scroll guidance calls for a persistent, unique URL for each content chunk, the expected content at that URL and sequential links between chunks. As a hypothetical example, a lighting category could use /lighting/ for its opening batch and /lighting/?page=2 for the next. The first page could contain <a href="/lighting/?page=2">Next page</a>, while page two links onwards. Someone entering ?page=2 directly should see that batch and links to its product pages without scrolling from the beginning.
Page numbers are an example of stable addressing, not a compulsory URL format. Google recommends that revisiting a URL should show the content assigned to that chunk, rather than a result determined by an earlier scroll or a relative date. In a shop where stock changes, the team must decide how products are ordered and what happens when items are added or withdrawn. Otherwise, products may shift between batches and a saved address may no longer lead to the expected part of the list.
A fragment such as #page=2 is not an equivalent pagination URL for Google: its guidance says it ignores URL fragments for this purpose. The same document recommends a separate canonical URL for each page in the sequence, rather than canonicalising every page to page one. That concerns the main category sequence, not every filtered or alternatively sorted version. Which variants deserve search exposure is a separate decision, covered in the article on which ecommerce filter pages to index.
A changing address is not enough
When a new chunk becomes the main visible part of the catalogue, Google recommends updating the displayed URL through the browser History API. A shopper can then share the current view or return to it after refreshing (Google's guidance). Yet history.pushState() changes the address bar; it does not, by itself, make a fresh visit to that address return the right products.
That distinction is easy to miss in a visual review. After scrolling to a later batch, copy its address into a new tab and refresh. If the category starts at its first batch, shows an empty container or returns an error, the address does not work as a route to the products the shopper saw. If reaching them requires another scroll from the beginning, the problem remains. Look at both the product cards and their links, rather than merely counting items on the screen.
The first URL need not contain the entire category in its initial HTML; separate batches are the point of incremental loading. Google advises checking the rendered HTML of the relevant URL with Search Console's URL Inspection tool (testing guidance). Finding the expected cards and links there shows that they are available in the inspected rendering. Product indexing is a separate question.
An acceptance test for the category, not the animation
A development brief should describe behaviour that can be observed. Each main batch has a persistent URL that opens directly with its products. The preceding batch contains an HTML link with a real href to the next one, and product cards link to their respective pages. If the shop uses continuous scrolling, its address changes when the next batch becomes the main visible content; reloading returns the shopper to that part of the catalogue. These requirements test routing and content rather than a particular JavaScript library.
Use a later batch for acceptance, not only page two. Open its URL directly, compare its products with those shown after scrolling, and locate the preceding page's link to that address. Inspect the later URL in Search Console for the expected cards and links in the rendered HTML. A link inserted by JavaScript should still become an <a href> element, in line with Google's link guidance. This test can expose a broken route to products before the team evaluates the category's search performance.
When straightforward pagination is enough
If shoppers benefit from knowing where they are in a large category, ordinary page links may serve them better than a continuous feed. If the team cannot maintain direct batch routes, sequential links and accurate address updates, infinite scroll adds complexity without solving navigation. Where continuous browsing genuinely helps, it can use the same working paginated pages underneath.
For a live catalogue with inaccessible later pages, an SEO.LISA SEO audit can examine the later category URLs and product links and turn the findings into a development brief. The visual design can then be decided separately from the technical requirement: products beyond the opening batch need a usable path through the catalogue.
Share this article
