Single page application
SPA
A single page application is a site that loads one HTML page and then replaces its content in JavaScript on every navigation, without ever reloading the full page.
Why audience measurement struggles with it
Legacy tools count a page view on every document load. In an SPA that load happens once: without specific instrumentation, a ten-screen visit is counted as a single page view, time on page becomes absurd and bounce rate collapses for the wrong reasons. A suitable tool listens to the router’s URL changes rather than to the document load.
The effect on search
An SPA rendered only in the browser forces the search engine to execute JavaScript before it sees any content. Hence prerendering or server-side rendering, which deliver complete HTML on the first response. The classic trap lies elsewhere: returning an empty page with HTTP 200 for an unknown URL, which Google reads as a soft 404 and indexes anyway.