Web Design · 19 min read
Next.js for Marketing Sites: The Complete 2026 Guide
Summary
WordPress marketing sites are losing to Next.js on Core Web Vitals, security, and dev velocity. The full 2026 playbook for choosing and shipping.
By The Foundgrove team · Published May 13, 2026 · Updated June 29, 2026
Next.js has become the default stack for new marketing-site builds since 2024. Not because it is fashionable. Because the alternatives lose on the four things that actually move pipeline: page speed, security exposure, editorial velocity, and the cost of shipping a new landing page when a campaign manager asks for one on a Tuesday afternoon.
This guide is the long version of the case for Next.js. If you run marketing for a service business and you are still on WordPress, Webflow, or a hand-rolled HTML stack, the trade-offs in here will look familiar — and the migration path is often shorter than a full ground-up rebuild implies. See our website design service for how we run these projects end to end.
Why Next.js for marketing sites in 2026?
Next.js wins because it ships static HTML at build time, hydrates only the JavaScript a page actually needs, and treats SEO infrastructure (sitemap, robots, Metadata API, structured data) as first-class concerns instead of plugins. A typical Next.js marketing page lands a Lighthouse score between 95 and 100; the WordPress equivalent on the same content typically scores 40-70.
The framework also collapses the gap between marketing site, programmatic SEO engine, and conversion app. A single Next.js codebase can host 50 location pages, a 500-page blog, a calculator, and a booking flow without the plugin sprawl that breaks WordPress.
What does Next.js give you out of the box?
Out of the box, a fresh Next.js 15 app gives you nine production features that would each be a paid plugin or custom build on other stacks. Together they eliminate the long tail of marketing-site tickets: 'page is slow,' 'images are huge,' 'social previews are broken,' 'the sitemap is out of date.'
- App Router with React Server Components — render on the server, ship zero JS for content pages
- Static Site Generation (SSG) by default — pages are pre-rendered to HTML at build time
- Incremental Static Regeneration (ISR) — re-render specific pages on a schedule (great for blogs)
- next/image — automatic AVIF/WebP, responsive sizes, lazy loading, blur placeholders
- next/font — self-hosted Google fonts with zero layout shift
- Metadata API — typed, per-route title/description/OG/canonical without a plugin
- robots.ts and sitemap.ts — generated from your route tree, no plugin required
- Edge runtime — run middleware (geo, A/B, auth) at the CDN edge in <50ms
- Built-in TypeScript, ESLint, and Tailwind support — modern DX without configuration
How does Next.js compare to Astro, Hugo, and WordPress headless?
Four frameworks dominate the 2026 marketing-site conversation: Next.js, Astro, Hugo, and WordPress headless. They are not equivalent. Each one wins a specific slice of the market, and the wrong choice will cost you either dev velocity or content velocity.
- Next.js — wins for sites that need interactivity (calculators, booking, gated content) plus marketing pages. Best when one team owns marketing + product surface.
- Astro — wins for pure content sites with almost zero interactivity. Marginally faster ship time than Next.js for static blogs, but loses on dynamic features and ecosystem.
- Hugo — wins for engineering blogs and docs sites where the editor is a developer using Markdown. Loses immediately when a marketer needs a CMS.
- WordPress headless (Faust.js, WPGraphQL + Next.js) — wins only when you have an existing editorial team that refuses to leave WordPress. You pay double: a WP host AND a Next.js host.
For most service-business marketing sites, the answer is Next.js with a headless CMS (Sanity, Contentful, or Payload) for editors who do not want to touch code. The exceptions are either tiny brochure sites (Astro is fine) or massive editorial brands that genuinely need WordPress for the writer experience. For the full head-to-head — including the cases where WordPress still wins — see Next.js vs WordPress for marketing sites.
Why do marketing sites need Core Web Vitals to be perfect?
Core Web Vitals are not just a ranking signal. They are a revenue signal. Deloitte and Google's "Milliseconds Make Millions" mobile-speed study found a 0.1-second improvement in load time lifted retail conversions by 8.4% (and travel conversions by 10.1%). The same dynamic applies to lead-gen — slow pages bounce before the form ever loads.
Next.js makes hitting the targets (LCP <2.5s, INP <200ms, CLS <0.1) the default outcome rather than a six-month optimization project. next/image solves LCP for the hero, next/font solves CLS for headings, and React Server Components keep INP low by shipping less JavaScript. We cover the optimization details in Core Web Vitals on Next.js.
How does the Metadata API change SEO setup?
The Metadata API is the underrated feature of the App Router. It replaces the WordPress Yoast/RankMath workflow with typed TypeScript objects that live next to the page they describe. A title template at the root layout means every page automatically gets your brand suffix; canonical URLs are derived from the route; OpenGraph and Twitter Card metadata are colocated with the page that owns them.
We document the full setup pattern, including the doubled-title-suffix bug that catches almost every team on their first deploy, in the Next.js Metadata API guide. The short version: define a buildMetadata helper, never hard-code titles, and watch the title template — it composes with child titles in ways that are easy to get wrong.
What does dev velocity actually look like?
On WordPress, shipping a new landing page involves: spinning up a staging clone, building a new template in the page builder, fighting the theme's CSS specificity, debugging a caching plugin, and finally publishing — typically 3-5 days of one developer's time plus a designer touch-up.
On Next.js, the same landing page is a new file in app/. The route exists the moment the file does. Tailwind handles styling without specificity wars. Components from an existing design system snap in. A landing page that takes 3-5 days on WordPress can typically be shipped in a few hours on a mature Next.js codebase, and a 25-page marketing site in roughly two weeks with a single developer. That difference in parity work is the gap between a marketing team that can launch a new campaign page on demand and one that queues every page behind a multi-day dev cycle.
What does Next.js cost to host?
Hosting cost is where Next.js shocks teams coming from WordPress. A Next.js marketing site with 50,000 monthly visitors runs $0-$20/month on Vercel's hobby and pro tiers. The same traffic on WP Engine or Kinsta is $35-$200/month, plus Cloudflare, plus the security plugin subscriptions, plus the inevitable migration fee when you outgrow the tier.
- Vercel Hobby — $0/month, fine for sites under 100GB bandwidth and personal projects
- Vercel Pro — $20/month per team member, production-ready, includes preview deployments and analytics
- Netlify Pro — $19/month, similar feature set to Vercel Pro
- Cloudflare Pages — $0-$20/month, cheapest option if you do not need Vercel's serverless functions
- Self-hosted on a $5 VPS — possible with Docker + Nginx, but you lose preview deployments and CDN
Vercel Pro is a sensible default for most new builds because preview deployments alone (every PR gets a unique URL) tend to save more time than the $20/month costs. See our pricing for how we bundle hosting into engagements.
How long does migrating from WordPress actually take?
For a 25-page marketing site with a blog of 100 posts, a realistic migration timeline is 8-12 weeks: 2 weeks discovery and design audit, 4-6 weeks rebuilding in Next.js with the existing content, 1 week setting up redirects and headless CMS, 1-2 weeks parallel-running staging vs production, then cutover.
The thing teams underestimate is the redirect map. Every WordPress URL that has earned a backlink or ranks for a keyword needs a 301 redirect to its Next.js equivalent. Skip this and you can lose a large share of your organic traffic in week one. We unpack the migration playbook in Why marketing sites are migrating from WordPress to Next.js.
When is Next.js the wrong choice?
Next.js is not the answer for three specific scenarios. First, ultra-low-budget brochure sites where the team will never touch code — a Squarespace or Webflow account is faster to ship and easier to hand off. Second, sites where the editorial workflow demands real-time collaborative editing inside a CMS that does not have a headless API — WordPress with Gutenberg still wins there.
Third, sites maintained by non-technical operators with no developer access at all. Next.js still requires a developer for structural changes; if you do not have one (in-house or agency), pick a hosted builder. For everyone else — most service businesses doing $1M-$50M ARR — Next.js is the right call.
What does a production-grade Next.js marketing site include?
A production-grade Next.js marketing site should include nine non-negotiable layers. Anything short of this is either an MVP or an agency cutting corners.
- App Router with TypeScript strict mode and a typed design system
- Metadata API with per-route title, description, canonical, OG, and Twitter Card
- robots.ts and sitemap.ts generated from the route tree, including dynamic pages
- JSON-LD structured data (Organization, LocalBusiness, Article, FAQPage) via a Schema component
- next/image everywhere with priority on LCP image, sizes prop tuned per breakpoint
- next/font with display: swap and self-hosting to eliminate CLS
- Headless CMS integration (Sanity or Payload) with TypeScript types generated from the schema
- Analytics + conversion tracking (GA4, Plausible, or Fathom) with consent banner
- Pre-deploy CI: TypeScript check, ESLint, Lighthouse CI threshold gate
How do you handle the editorial workflow on Next.js?
The pushback on Next.js is almost always from the editorial side. 'Our writers know WordPress.' Fair — but the modern answer is a headless CMS sitting in front of Next.js, giving editors a constrained, brand-safe authoring UI that produces better output than Gutenberg with fewer accidents.
- Sanity — strongest editor UX, real-time collaborative editing, free tier covers most marketing teams
- Payload CMS — self-hosted, TypeScript-native, no vendor lock-in; best when you want CMS + Next.js in one repo
- Contentful — enterprise-grade, expensive ($300+/mo at scale), strongest for multi-locale content operations
- Storyblok — visual editor with live preview, popular for marketing teams used to page builders
- MDX in the repo — fine for engineering blogs and docs; not appropriate for non-technical editors
Sanity is a strong default for marketing teams, and Payload for projects that need everything self-hosted. Onboarding non-technical editors is usually a short walkthrough rather than a training program; once they see they cannot accidentally publish a broken layout, many prefer it to WordPress. The schema-driven approach also forces brand consistency — editors pick from predefined content blocks, not freeform HTML.
What about analytics, conversion tracking, and CRM integration?
Marketing sites live or die on tracking. Next.js does not break any standard analytics or conversion-tracking pattern; it just makes you implement them deliberately instead of clicking through a plugin. A four-layer attribution stack works identically on Next.js and WordPress — the difference is where the code lives.
- GA4 — `next/script` with strategy='afterInteractive' loads gtag.js after the page is interactive (no LCP impact)
- Server-side tagging — a serverless function (Vercel Edge or AWS Lambda) acts as a GTM server container
- Conversion APIs — Meta CAPI, Google Ads Enhanced Conversions, LinkedIn CAPI all post from the same server function
- CRM offline imports — HubSpot, Salesforce, Pipedrive forms post directly to the CRM via API in a server action
- Consent management — Cookiebot, OneTrust, or Iubenda load via next/script lazyOnload to avoid CLS
- Privacy-friendly alternatives — Plausible, Fathom, or Umami integrate with one Script tag and ship in <2KB
The Next.js advantage: server actions and API routes let you do conversion tracking server-side, which is more reliable than client-side pixels in a world of ad blockers and consent-mode v2. Industry case studies on server-side tagging commonly report meaningfully more conversions recovered when server-side tracking is layered on top of client-side, because it is not blocked by ad blockers or cookie restrictions.
How does Next.js handle programmatic SEO and large site footprints?
Programmatic SEO — generating hundreds or thousands of pages from a data source (locations, services-by-industry, glossary entries) — is where Next.js separates from every other marketing stack. Dynamic routes with generateStaticParams pre-render every variant at build time, producing real static HTML for every combination.
Consider a programmatic build of ~1,200 statically-generated pages: 47 services × 25 industries (1,175 combo pages), plus 50 location pages and 43 glossary entries. With generateStaticParams, every variant is pre-rendered to a real HTML file served from CDN in <50ms globally, and a build of that size typically completes in a few minutes. Doing the equivalent on WordPress would require either an expensive programmatic-SEO plugin or a custom plugin that breaks on every WP upgrade.
- generateStaticParams — returns an array of params to pre-render at build time
- ISR for the long tail — pre-render the top 500 pages at build, generate the rest on first request and cache
- Sitemap generation — sitemap.ts iterates your data source, producing entries for every page automatically
- Internal linking — generate breadcrumbs, related-page links, and 'see also' modules from your data, not by hand
- Build-time data fetching — pull from your CMS, database, or JSON files; no runtime database load
- Incremental builds — Next.js + Vercel skip rebuilding pages whose data did not change, keeping builds fast at scale
What does the deployment and CI pipeline look like?
A production-grade Next.js deployment is git-driven and includes preview deployments per pull request, automated checks on every push, and one-click rollback. Vercel and Netlify both ship this out of the box; self-hosted deployments need a bit more wiring but the pattern is the same.
- Push to a branch — Vercel/Netlify spin up a preview URL in 60-180 seconds, sharable with stakeholders
- Pull request — CI runs `next build`, ESLint, TypeScript, and a Lighthouse CI check (fail if Performance <90)
- Merge to main — production deploy with atomic swap (no downtime), keeps the previous deploy warm for instant rollback
- Preview comments — Vercel and Netlify post the preview URL into the PR; designers and PMs review before merge
- Environment variables — separate sets for preview, staging, production; managed in Vercel/Netlify UI
- Rollback — single click reverts to any prior deploy in under 30 seconds; production never goes down
This pipeline replaces 4-6 separate WordPress workflow tools (staging plugin, backup plugin, deployment script, manual QA, downtime window). It also means the marketing team can review a landing page on its real URL before it ships, which catches the kind of bug that only shows up at production CSS.
How do you choose between SSG, SSR, and ISR?
Most marketing pages should be statically generated. The exceptions are narrow: personalized dashboards (SSR), pages that need fresh data every few minutes without a deploy (ISR), and edge-routed content (middleware). The Next.js 15 default behavior — every page is SSG unless you opt out — usually does the right thing automatically.
The decision tree, with examples of which marketing pages belong in each bucket, is laid out in SSG vs SSR for marketing sites. Spoiler: 95% of pages should be SSG, 4% ISR, 1% SSR.
How do you get started?
If you are evaluating a rebuild, the right first step is not a code experiment — it is an audit. Pull your current site's Lighthouse scores, count your active plugins, count the lines in your redirect map, and price one month of WP managed hosting plus plugins. Then estimate what materially faster page-shipping would unlock for your marketing team's roadmap.
When you are ready to talk specifics, book a strategy call and we will walk through your site, your numbers, and a realistic migration timeline. A typical service-business marketing site can be on Next.js in roughly 6-10 weeks — often for less than a single WordPress security incident costs to clean up.
Where does this fit in your stack?
If you're running a US service business, the playbook in this post pairs with our full services lineup and applies cleanly across our supported industries and US locations. If you want help implementing it, book a free strategy call — we'll review your current setup and prioritize the next three moves.
For the deeper engagement details, see our website design service. New to the terminology here? Our SEO & marketing glossary defines every acronym in this post.
What are the most common questions about this topic?
Common questions readers send us about this topic.
Is Next.js good for SEO?
Yes. Next.js is one of the strongest SEO foundations available because it serves static HTML by default, exposes a typed Metadata API for titles/canonicals/OG, generates robots.txt and sitemap.xml from your route tree, and produces Core Web Vitals scores in the 95-100 range out of the box. The main SEO advantages WordPress used to have (RankMath, Yoast) are now built-in.
How much does a Next.js marketing site cost to build?
A 25-30 page Next.js marketing site with a headless CMS, blog, design system, and analytics typically costs $25,000-$60,000 from a specialized agency in 2026, or 2-4 weeks of one senior developer's time in-house. Ongoing hosting is $0-$20/month on Vercel. Compare to WordPress: similar build cost, but typically a meaningfully higher operating cost over 3 years once you count managed hosting, plugin licenses, and dev time.
Can non-developers edit a Next.js site?
Yes, when you pair Next.js with a headless CMS like Sanity, Contentful, or Payload. Editors get a familiar UI for blog posts, landing pages, and reusable content blocks; Next.js renders the result. The separation actually gives editors a cleaner experience than WordPress because they cannot accidentally break layout by misusing the page builder.
Is Next.js faster than WordPress?
Yes, by a wide margin on parity content. Next.js typically scores 95-100 on Lighthouse Performance for marketing pages; a WordPress site with comparable content and a typical plugin load scores 40-70. The gap is structural — Next.js ships static HTML with minimal JavaScript, while WordPress runs PHP per request and loads jQuery plus 10-20 plugin scripts by default.
How long does it take to migrate from WordPress to Next.js?
For a 25-page marketing site with 100 blog posts, plan 8-12 weeks: 2 weeks discovery and design, 4-6 weeks rebuild, 1 week redirect mapping and CMS setup, 1-2 weeks parallel staging. The biggest risk is forgetting redirects — every URL that ranks or has backlinks needs a 301 to its new path, or you can lose a large share of your organic traffic on cutover.
Should I use Next.js or Astro for my marketing site?
Choose Next.js if you need any interactive features (calculators, booking, gated content, dashboards) alongside marketing pages, or if you want one framework for both your site and any future product surface. Choose Astro if your site is purely content (blog, docs, brochure) with zero interactivity — Astro ships marginally less JavaScript for pure-static use cases. For 90% of service businesses, Next.js wins.
Do I need Vercel to host Next.js?
No, but it is the easiest path. Next.js runs anywhere Node.js runs — Vercel, Netlify, Cloudflare Pages, AWS Amplify, or a self-hosted VPS with Docker. Vercel is built by the Next.js team and supports every framework feature on day one; competitors sometimes lag on edge runtime or ISR. For most teams, the $20/month Vercel Pro plan saves more time in preview deployments than the cost.
What is the biggest mistake teams make moving to Next.js?
Treating it like WordPress and reaching for a heavy client component for every interaction. Next.js 15 defaults to React Server Components, which ship zero JavaScript for content pages. Teams that mark every component 'use client' lose the Core Web Vitals advantage and end up with a slower site than they had before. Default to server components; opt into client only when you genuinely need useState or browser APIs.
About Foundgrove
The Foundgrove team
Foundgrove helps US service businesses win qualified leads from search and AI. We write about the practical, measurable side of acquisition — what works in production, not what looks good in a conference deck.
Related reading
Other tactical pieces from the Foundgrove blog.
- Web Design · 12 min read
Next.js vs WordPress for Marketing Sites in 2026
WordPress runs 43% of the web, but service businesses are leaving for Next.js. Speed, security, dev velocity — the honest head-to-head.
Read the web design playbook → - Web Design · 10 min read
Static Generation vs SSR: Which for a Marketing Site?
SSG, SSR, ISR, edge — Next.js gives you four rendering strategies. For 95% of marketing pages, the answer is SSG. Here is the decision tree.
Read the web design playbook → - SEO · 11 min read
Next.js Metadata API: The Complete SEO Setup Guide
Title templates, canonicals, OG, JSON-LD, sitemap.ts — Next.js Metadata API replaces Yoast. The production setup, plus the doubled-suffix bug.
Read the seo playbook → - Web Design · 13 min read
Why Marketing Sites Are Migrating From WordPress to Next.js
Plugin sprawl, Core Web Vitals failures, and security fatigue are pushing marketing teams off WordPress. The 2026 Next.js migration playbook.
Read the web design playbook → - Web Design · 11 min read
Core Web Vitals on Next.js: How to Hit Perfect Scores
Next.js can hit 100/100 on Lighthouse, but not by accident. The specific knobs: next/image, next/font, RSC, third-party deferral, bundle audits.
Read the web design playbook →
Want help applying this to your business?
Book a free 30-minute call. We'll review your current acquisition stack and show you the three highest-leverage moves for your industry and state. Or read how our website design service works.