# Most of the content only appears after JavaScript runs

The page has some server-rendered text, but most of what users see is added by JavaScript. AI crawlers only read the first part.

## How to fix it

AI crawlers read the raw HTML only, so they miss what JavaScript adds. Server-render (SSR/SSG) the main content; compare text_bytes with rendered_text_bytes per page.

## How LLMentions checks it

`site_audit` crawls your site the way AI bots do (raw HTML, no JavaScript), reads robots.txt for every known AI and search bot, and renders a few pages in a real browser for comparison. This check reports as `content_needs_js` with severity **error**, which fails CI with `--fail-on error`.

```bash
llmentions audit example.com
```

The result lists every issue with the pages affected, most severe first, and what changed since your last audit. See the [site audit guide](/docs/site-audit/).

## Related errors

- [Site isn't served over HTTPS](/checks/not-https/)
- [robots.txt blocks an AI search or answer bot](/checks/ai-search-blocked/)
- [Page returns an HTTP error](/checks/http-error/)
- [Almost no text without JavaScript](/checks/js-only-content/)

---
https://llmentions.com/checks/content-needs-js/
