On this page
What this issue is
Server-side rendering (SSR) means the server sends finished HTML, so the visitor sees content quickly. But the page is not yet interactive. A framework such as React, Next.js, Nuxt, Vue or SvelteKit must download its JavaScript, run it, rebuild the page in memory and attach event handlers to the existing HTML. That step is called hydration.
Why it costs you leads or sales
Visitors act as soon as they see a button. If the first tap on Add to cart, Book now or Submit does nothing, many tap again, then leave. Some forms also lose typed text when hydration replaces the field. Others submit as a plain page reload and skip your tracking code, so the conversion is not recorded in your ad platforms.
- HTML arrivesServer sends finished markup
- Content visibleHero and form are painted
- Visitor taps buttonJavaScript still loading, no handler attached
- Hydration finishesSeconds later, too late
- Lead or orderVisitor has already left
The page looks ready at step 2, but taps are lost until hydration finishes at step 4.
Example: illustrative hydration times on a mid-range phone before and after trimming JavaScript. Your numbers will differ.
How to check if your site has it
Test on a throttled device
Open Chrome DevTools, go to Performance, set CPU to 4x or 6x slowdown and network to Fast 4G. Reload the page.
Tap early
As soon as the page paints, tap the main button or type in the form. If nothing responds for a second or more, hydration is delayed.
Record a trace
In the Performance panel, look for a long block of main-thread work labelled with scripts, often named after your framework bundle. Long tasks over 50 ms are flagged with a red corner.
Compare the metrics
Run PageSpeed Insights or Lighthouse. A good LCP with a poor INP or high Total Blocking Time points to hydration.
Compare with JavaScript off
Disable JavaScript in DevTools (Command Menu, 'Disable JavaScript'). If the page still shows full content, it is server-rendered and hydration is the gap.
How to fix it
The goal is less JavaScript to run before the page responds. Start with the biggest wins first.
Find what is in the bundle
Use a bundle analyzer (for Next.js, the @next/bundle-analyzer package) to see which libraries dominate. Remove or replace heavy ones.
Hydrate only what needs it
Static sections such as text, footers and testimonials do not need JavaScript. Use islands or partial hydration (Astro islands, React Server Components) so only interactive parts hydrate.
Lazy-load below-the-fold components
Load chat widgets, carousels, modals and maps only when needed, using dynamic imports.
Defer third-party scripts
Load tags and widgets after the page is interactive. They compete with hydration for the main thread.
Make key forms work without JavaScript
Use a real <form> with an action, so a submit before hydration still goes through.
Split long tasks
Break heavy initialisation into smaller chunks so the browser can handle taps in between.
import dynamic from 'next/dynamic';
const ChatWidget = dynamic(() => import('../components/ChatWidget'), {
ssr: false,
loading: () => null,
});
export default function Page() {
return (
<main>
<h1>Book a demo</h1>
<ChatWidget />
</main>
);
}Use framework features
In Next.js use dynamic imports and Server Components. In Nuxt use lazy-loaded components (prefix with Lazy) and lazy hydration where available. In Astro use client:visible or client:idle on islands.
Remove unused dependencies
Audit package.json and drop libraries you only use for one small function.
Delay non-essential tags
Change triggers for chat, heatmaps and similar tags from All Pages or Page View to Window Loaded, or to a timer or interaction trigger. Keep conversion tags on the events they need.
Remove old tags
Pause tags no one uses. Each one adds script work during load.
Check for headless setups
Standard themes are not hydrated. If you use a headless setup with a React front end, apply the custom code steps to that front end.
Trim plugins
Deactivate plugins that add front-end scripts you do not need on landing pages.
Before
- Whole page hydrates in one large task
- Chat, slider and tracking scripts load at once
- First tap ignored for seconds on mid-range phones
- Form submit may reload the page and skip tracking
After
- Only the form and main button hydrate first
- Widgets load on idle or when visible
- First tap responds almost immediately
- Form works even before JavaScript finishes
How to confirm it's fixed
- With 4x CPU slowdown, the main button responds on the first tap right after the page paints
- Typing in the form right after load does not lose characters
- The Performance trace shows no long task over about 200 ms during load
- INP in PageSpeed Insights (field data, when available) is in the good range, 200 ms or less
- The form submit still fires your conversion tags
- Real-device test on a mid-range Android phone passes
How to prevent it happening again
- Set a JavaScript size budget and fail the build when it is exceeded
- Review bundle size in every pull request that adds a dependency
- Load new third-party scripts after interaction by default
- Test key pages with CPU throttling after each release
- Check INP in Search Console's Core Web Vitals report monthly
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It checks INP and LCP on the funnel steps it visits. If responsiveness gets worse after a release, those readings can point to it. It does not identify hydration as the cause, and it does not measure how long a particular component takes to hydrate or which script is responsible.
To cover the rest by hand, use the throttled DevTools test above, read the Performance trace for long tasks, and run a bundle analyzer after each release. FunnelGuard's scheduled journeys also show whether a robot visitor can complete the form or button step, which helps catch cases where the delay turns into a real failure. A Free plan (1 site, 2 journeys, daily checks, no card) is enough to start.
Questions people ask
Why is my page visible but buttons don't work for a few seconds?
The page is probably server-rendered and still hydrating. The HTML paints first, but the JavaScript that powers buttons and forms has not finished loading and attaching. Reduce the JavaScript sent on first load to shorten the gap.
What is hydration delay in simple terms?
It is the wait between seeing a server-rendered page and being able to use it. The browser must download and run JavaScript to make the static HTML interactive. On slow phones or with large bundles this can take seconds.
Does hydration delay affect Core Web Vitals?
Yes, mostly INP, which measures how quickly the page responds to taps and clicks. It can also raise Total Blocking Time in lab tests. LCP is often unaffected because the content is already painted.
How do I reduce hydration time in Next.js?
Use Server Components for non-interactive parts, load heavy client components with next/dynamic, and remove large dependencies found with a bundle analyzer. Also defer third-party scripts until after the page is interactive.
Is SSR bad for conversions?
No. SSR usually helps visitors see content sooner. It hurts only when too much JavaScript must run before the page responds. Keeping hydration small gives you the benefit without the frozen period.
How can I test hydration delay on my own site?
Open Chrome DevTools, throttle the CPU to 4x slowdown and the network to Fast 4G, reload, and tap the main button as soon as it appears. Then record a Performance trace to see long script tasks. A delay before the tap works confirms the issue.
Can FunnelGuard detect hydration delay?
Only partly. FunnelGuard checks INP and LCP on your funnel steps, which can reveal a responsiveness drop. It does not pinpoint hydration as the cause, so you need DevTools and a bundle analyzer for that.
Related issues
- PRF-016Client-side rendered page shows blank until JS bundle runsFix guide
- PRF-001LCP over 2.5 s on a funnel stepFix guide
- PRF-012Render-blocking synchronous JS in <head> (jQuery, sliders)Fix guide
- PRF-014Unused JavaScript over 500 KBFix guide
- PRF-002LCP over 4 s on mobile (poor) on the paid landing pageFix guide
- PRF-015Page builder (Elementor/Divi) loads every widget's assets on every pageFix guide