How NodeLens handles JavaScript pages
Paid crawls run JavaScript on the pages that need it, so links added by scripts are found. The free crawl reads each page's HTML only.
On this page
Some sites build their pages with JavaScript. The links on those pages are not in the HTML the server sends, so a crawler that reads only HTML misses them. NodeLens handles this in two ways, depending on the crawl.
What each crawl does
| Crawl | What NodeLens reads |
|---|---|
| Your free crawl | Each page’s HTML, as served. JavaScript is not run. |
| A crawl on a plan | Each page’s HTML, plus the page after its scripts have run, on the pages that need it. |
There is no setting to change this in the web app. You can’t turn rendering off for a paid crawl, and you can’t ask for every page to be rendered.
How NodeLens decides which pages to render
On a paid crawl, NodeLens checks each page’s HTML for signs that the content is built by scripts.
- If a page shows those signs, NodeLens renders that page in a headless browser and reads the links from the result.
- If your homepage shows those signs, NodeLens treats the whole site as a JavaScript site and renders every page it crawls.
- If a page shows no signs and the homepage doesn’t either, NodeLens reads the HTML only.
Rendering follows the same robots.txt rules as the rest of the crawl.
What you’ll see
Links found only after rendering join the same map and the same fixes as every other link. See JavaScript links for what they are and why they matter.
A crawl that renders pages takes longer than one that doesn’t, because each rendered page is opened in a browser. It costs the same: a crawl is priced by pages crawled, as what a crawl costs explains.
Limits
- Canonical tags, robots meta tags and hreflang are read from the HTML as served, not from the rendered page.
- If rendering isn’t available during a crawl, the crawl carries on and reads HTML only.
- The free crawl never renders. If your site is built with JavaScript, a free crawl can show fewer pages and links than the site has.
If it goes wrong
| What you see | What it means | What to do |
|---|---|---|
| A free crawl found far fewer pages than your site has | The site’s links are added by scripts, and the free crawl reads HTML only. | Crawl again on a plan. See crawl again. |
| A paid crawl is missing links you can see in your browser | The page may not have shown signs that it needs JavaScript, or the links load only after a click or scroll. | Use Get help in the app, or email [email protected] with the page address. |
Questions
Does the free crawl run JavaScript?
No. The free crawl reads the HTML each page is served with. Links that only appear after a script runs are not found until you crawl on a plan.
Can I make NodeLens render every page?
Not in the web app. On a paid crawl NodeLens decides page by page, and renders the whole site when the homepage needs JavaScript.