On this page
What this issue is
Some sites build their pages in the browser with JavaScript (React, Vue, Angular and similar). Crawlers do not always run that JavaScript well. A pre-rendering service fixes this: your server detects a bot by its user agent, asks the service for a fully built HTML copy, and sends that copy to the bot. Humans still get the normal app.
Why it costs you leads or sales
If bots receive an empty shell, a 401/403 error or a 5xx error, your pages can lose their indexed content, snippets and rankings. Pages may drop out of results, and AI assistants that fetch your pages may have nothing to quote. Fewer visits means fewer leads and sales, and the drop often arrives weeks after the cause.
- Bot requests pageGooglebot or an AI crawler asks for the URL
- Server asks pre-render serviceToken expired or service down
- Bot gets empty shell or errorNo content in the HTML
- Page indexed with contentNever happens
- Organic visit and leadTraffic falls
The break happens between your server and the service, so everything after it is lost.
Example: illustrative numbers showing a gradual decline after pre-rendering stops working in week 2.
How to check if your site has it
Request your page the way a bot does and compare it with what a normal browser gets. You are looking for real text, headings, links and a 200 status in the bot response.
# As a bot
curl -s -o bot.html -w "%{http_code}\n" -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" https://example.com/your-page/
# As a normal browser
curl -s -o human.html -w "%{http_code}\n" https://example.com/your-page/
# Does the bot copy contain your main heading?
grep -i "<h1" bot.html
# Compare sizes
wc -c bot.html human.htmlCompare the bot HTML
Open bot.html. If it has only an empty root element such as <div id="root"></div> and script tags, pre-rendering is not working.
Check the status code
A 401, 403, 502, 503 or 504 on the bot request points to a rejected token, a plan problem or a service outage.
Use Google Search Console
In URL Inspection, run Test Live URL and open View Tested Page > HTML. Check that your content is present. Also review Settings > Crawl stats for rising error rates.
Check your service dashboard
Look for an expired plan, a revoked token, exceeded render limits, a failed recache or a list of recent errors.
Check server logs
Search for errors from your pre-render middleware or proxy rule, such as authentication failures or timeouts.
How to fix it
First restore the service, then make sure your server still routes bots to it, then refresh stale pages. The exact steps depend on how you connected the service.
Renew and re-copy the token
Renew the plan in your pre-render provider account. If the token changed, copy the new one into your server configuration or environment variable and restart the app.
Check the middleware
Make sure the middleware (for example the prerender-node package for Express) is still installed, loaded before your routes, and set to your current token. Update it if it is outdated.
Check the bot list
Confirm the user agents you want served (Googlebot, Bingbot and AI crawlers you allow) are matched by the rule.
Not the right place
Google Tag Manager runs in the browser, so it cannot supply pre-rendered HTML to bots. Fix the service on your server, CDN or hosting layer instead.
Check whether you need it
Standard WordPress themes output HTML on the server, so they rarely need pre-rendering. If you use a headless front end, fix the service in that front end's hosting setup.
Check any plugin or proxy
If a plugin or CDN rule connects a pre-render service, open its settings, re-enter the token and save.
Check whether you need it
Webflow publishes server-rendered HTML, so pre-rendering is normally unnecessary. If you added a proxy or CDN with a pre-render rule in front of it, repair that rule or remove it.
const express = require('express');
const app = express();
// Use the current token from your provider account
app.use(require('prerender-node').set('prerenderToken', process.env.PRERENDER_TOKEN));
app.use(express.static('build'));
app.listen(3000);Recache key pages
In your provider dashboard, trigger a recache of your sitemap URLs so bots stop receiving old copies.
Request reindexing
In Search Console URL Inspection, request indexing for your most important pages.
Consider a longer-term fix
Server-side rendering or static generation removes the dependency on a separate service. Google describes dynamic rendering as a workaround, not a long-term solution.
How to confirm it's fixed
- The bot curl request returns status 200
- The bot HTML contains your H1, main text, internal links, title and canonical
- The bot HTML matches what users see, including current prices and offers
- Search Console Test Live URL shows the full rendered HTML
- Crawl stats show errors falling over the next days
- Your provider dashboard shows successful renders and no limit warnings
How to prevent it happening again
- Put the renewal date and plan limits in a shared calendar
- Use a company billing card and a team email for the provider account, not one person's
- Store the token in an environment variable and document where it is set
- Run the bot curl check after every deploy, server move or CDN change
- Re-test a sample of URLs monthly
- Review Search Console Crawl stats and Page indexing reports each month
- Plan a move to server-side rendering or static generation
How FunnelGuard handles this
FunnelGuard does not check this yet. Comparing what bots receive with what visitors see is a possible future check, but it is not part of the product today.
What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. That covers what happens after a visitor arrives, not what crawlers see.
Common signs at a glance
| Bot response | Likely cause | First action |
|---|---|---|
| Empty root element, status 200 | Bot not routed to service, or rule removed | Check middleware or proxy rule |
| 401 or 403 | Expired plan or invalid token | Renew plan, update token |
| 502, 503 or 504 | Service outage or timeouts | Check provider status, page speed |
| Full HTML but old content | Stale cache | Recache URLs |
Questions people ask
Why is my pre-rendering service not working?
The usual causes are an expired subscription, an invalid or rotated token, exceeded plan limits, or a server rule that no longer sends bots to the service. Fetch a page with a Googlebot user agent and check the status code and HTML to see which one applies.
How do I check what Googlebot sees on my page?
Use URL Inspection in Google Search Console, run Test Live URL, then open View Tested Page and check the HTML. You can also run curl with a Googlebot user agent and look for your main heading and text.
What happens to SEO if my prerender token expires?
Bots may receive an error or an empty page, so pages can lose indexed content, snippets and rankings. The effect is usually gradual, with traffic declining over weeks.
Do AI crawlers need pre-rendered pages?
Many AI crawlers fetch raw HTML and may not run JavaScript. If your content only appears after scripts run, they may see an empty page unless you serve a pre-rendered or server-rendered copy.
How do I fix stale pre-rendered content?
Trigger a recache in your provider dashboard for the affected URLs, ideally from your sitemap. Then check the bot HTML again and request reindexing in Search Console.
Is pre-rendering still recommended by Google?
Google describes dynamic rendering as a workaround and not a long-term solution. Server-side rendering or static generation is a more stable choice.
Does FunnelGuard detect a broken pre-rendering service?
No, FunnelGuard does not check this yet. It is a possible future check. For now, use a scheduled curl test with a bot user agent and review Search Console.
Related issues
- SEO-136Main content only rendered client-side, empty raw HTMLFix guide
- SEO-139JS errors stop the page rendering for crawlersFix guide
- SEO-145Dynamic rendering serves outdated or different content to botsFix guide
- SEO-144Hydration mismatch or blank page on slow JSFix guide
- SEO-137Rendering depends on blocked resourcesFix guide
- SEO-138Content appears only after user interaction (tabs, accordions loaded on click)Fix guide