B2B Website Personalization by Account Tier: A Next.js Playbook

Personalize a B2B site by account tier, not by person: change the hero, proof, CTA and pricing anchor per tier, serve each tier as a cached static page, and prove the lift with an account-level holdout.

Pixel-art two-way signpost, website visitors routed to pages tailored to their account tier.

B2B website personalization works best by account tier, not by individual. Sort target accounts into three or four tiers, then change four things per tier: the hero, the proof, the call to action and the pricing anchor. Serve each tier as its own cached page, show unknown visitors the default and prove the lift with a holdout.

Most personalization projects fail in one of two ways. Some try to write a page per account and run out of steam by week three. Others bolt a script onto the site that flickers, breaks caching and can't show a single extra meeting. Tiers fix the first problem. A cache-safe build and a holdout fix the second.

This playbook covers what changes for each tier, the identity sources and how much to trust each, a Next.js build on Vercel, cache safety, the fallback path, privacy and consent, and how to size and read a holdout.

Key takeaways

  • Personalize by tier. Three or four tier pages are cheap to maintain and still feel specific to the buyer.
  • Change four things. The hero, the proof, the CTA and the pricing anchor do most of the work.
  • Rank your identity sources. A known contact beats a signed link, which beats a UTM, which beats a reverse-IP guess.
  • Never cache one account's HTML. Rewrite to a small set of static tier pages and load anything per-account from a private request.
  • Prove it with a holdout. Split accounts, not visitors, and size the test before you launch.

What should change on the page for each account tier?

Start from your tier list. If you don't have one, build it first with the method in our account-based marketing strategy guide. Account tiering means sorting target accounts by fit and value so each group gets the right level of effort.

Here is a sensible default for a B2B SaaS company with a sales-led motion.

Element Tier 1 (named, top 50 to 100) Tier 2 (ICP segment) Tier 3 (broad fit) Default (unknown)
Hero Segment headline for their industry and size Segment headline Problem-led headline Your main positioning
Proof Case study from their industry, peer logos Two segment case studies Broad logo bar Broad logo bar
Primary CTA Talk to your named rep, with a calendar link Book a demo Start a trial or see a tour Your main CTA
Pricing anchor "Enterprise plan, custom pricing" plus what is included Business plan first, enterprise second Self-serve plans first Full pricing page
Per-account touch Account name, only from a private request None None None

The hero

The hero should name the segment, not the company. "Workforce planning for 2,000-person health systems" lands with a hospital buyer and works for 40 of them. A headline with "Hi, Acme!" feels clever for one visit and creepy for the next. It also fails badly when the identification is wrong.

The proof

Proof is the element that moves the most. Swap the logo bar and the case study for ones from the visitor's industry. A buyer at a regional bank wants to see a regional bank, not a gaming studio. Build one proof block per segment and reuse it across tiers.

The CTA

Tier 1 accounts often already have an owner in your CRM. So give them a direct path to that person instead of a generic form. Tier 2 gets the standard demo request. Tier 3 and unknown visitors often prefer a lower-commitment step, like a product tour. Our guide to B2B website conversion covers how to design each of those steps.

The pricing anchor

The pricing anchor is the first price a visitor sees. Enterprise buyers who land on a $49 plan may decide you are too small. Self-serve buyers who see "contact sales" may leave. Lead with the plan that fits the tier, and keep every plan one click away. Never show different prices for the same plan to different visitors. That is a trust problem, not a personalization tactic.

How do you know which account is visiting?

There are four common identity sources. They differ a lot in how much you can trust them. Use the strongest one available on each request.

Source How it works Trust Available on first visit?
Known contact The visitor has a CRM contact record tied to an account, found through a tracking cookie High No, only after a form fill or email click
Signed link Your email or ad link carries a token you signed, naming the account High while the link isn't forwarded Yes, from your own campaigns
UTMs and referrer Campaign parameters or the referring site point to a segment Medium, anyone can copy the link Yes
Reverse IP A vendor maps the visitor's IP address to a company Varies, often low on home and mobile networks Yes

Reverse-IP vendors

Website visitor identification vendors match an IP address to a company. Each one returns a signal you should check before you trust the match.

  • Snitcher has an IP to Company API at POST https://api.snitcher.com/company/find?ip={address}. Its response includes a type field that says whether the IP belongs to a business, an ISP or another network type. Snitcher sells it as a standalone offering, not part of its standard plans.
  • Demandbase IP-API v2 returns an information_level field. Detailed means the company was identified. Basic means the visitor was classified but not matched. An isp boolean flags ISP ranges.
  • People Data Labs IP Enrichment returns data.company.confidence, an enum from "very high" to "very low", per its response docs. Its docs page states no match rate.
  • RB2B works through a page script, not a server API, and focuses on people. On its how it works page, RB2B claims it identifies and enriches approximately 40 to 45% of qualified US-based traffic at the person level. That is the vendor's own claim. It also limits person-level matches to US visitors.

My default is to skip person-level matches for page personalization. They arrive too late, after a script runs, and the cost of a wrong guess is high. Company level is enough to pick a tier.

CRM lookup by known contact

If the visitor has filled in a form before, your marketing tool's cookie can tie them to a contact and an account. In HubSpot, the visitor token lives in the hubspotutk cookie. HubSpot documents an endpoint to get a contact by its user token, GET /contacts/v1/contact/utk/{contact_utk}/profile. It returns the contact and an associated-company block.

Note that this endpoint sits in HubSpot's legacy v1 reference, so check its status before you build on it. It needs a private app token with crm.objects.contacts.read. Call it only from your server, never from the browser, and never on every page view. Look the account up once, then remember the result in a signed cookie.

UTMs and the referrer

UTM parameters are the cheapest identity source you have. Tag every ABM ad and email with a tier or segment in utm_campaign, such as t1-healthsystems-q1. Keep the format strict so code can parse it. Our UTM builder helps keep naming consistent.

Treat UTMs as a hint about the segment, not proof of the account. Anyone can forward a link. That is fine, because a tier page should never show anything private. The referrer helps too. A visit from a partner's site or an industry community can pick a segment page without any vendor at all.

How do you build it on Next.js and Vercel?

The pattern is simple. A proxy file picks a tier for each request, then rewrites to a static page for that tier. Each tier page is built once and cached. Anything about one specific account loads later from a private request.

Request for /pricing
  -> proxy.ts reads the signed account cookie (or a UTM hint)
  -> looks up the tier in Global Config (one read)
  -> applies the holdout split by account
  -> rewrites to /v/t1/pricing, /v/t2/pricing, /v/t3/pricing or /v/default/pricing
  -> CDN serves that static tier page from cache
Browser, after render
  -> calls /api/account (private, no-store) for the account name, if confirmed
  -> calls /api/identify once if there is no account cookie yet

A naming note first. Starting with Next.js 16, the file once called middleware is called Proxy, per the Next.js Proxy docs. The proxy.js API reference says Proxy now defaults to the Node.js runtime, and a codemod renames old files: npx @next/codemod@canary middleware-to-proxy .

On Vercel, this logic runs as Routing Middleware. Vercel's docs say it "runs globally before the cache", which is why it can personalize static pages. That is the whole trick.

Put the tier map in Global Config

Your proxy needs to look up a tier fast. Calling your CRM on every request is too slow. The Next.js docs say plainly that Proxy "is not intended for slow data fetching". So copy the tier list to a fast global store.

On Vercel, that store is Global Config, the product formerly called Edge Config. Read it with get from the @vercel/global-config package, as shown in Vercel's guide to dynamic redirects with Global Config. Connecting the store adds a GLOBAL_CONFIG environment variable to your project.

Mind the limits, as of November 2026, from Vercel's Global Config limits page:

  • Each store has a maximum size of 1 MB on every plan.
  • Key names must match ^[\w-]+$, so a domain like acme.com can't be a key. Store one item, such as account_tiers, holding a JSON object of domains.
  • Writes can take up to 10 seconds to spread globally. That is fine for a daily sync.
  • Reads cost $3 per 1,000,000 on demand, with the first 100,000 included on Hobby.
{
  "account_tiers": {
    "acme-health.example.com": { "tier": "t1", "segment": "healthsystems" },
    "northbank.example.com": { "tier": "t2", "segment": "regional-banks" },
    "brightcart.example.com": { "tier": "t3", "segment": "retail" }
  },
  "holdout_salt": "q1-2027"
}

Sync this from your CRM once a day. A small scheduled job reads tiered accounts and writes the object through Vercel's API. Rough sizing: if each entry takes about 60 bytes, 1 MB holds around 15,000 accounts. That is my estimate, so measure your own payload.

Write proxy.ts

This version reads a signed cookie first, then a UTM hint, then falls back to the default. It never calls a vendor inline.

// proxy.ts (trimmed example)
import { NextResponse } from 'next/server'
import type { NextRequest } from 'next/server'
import { get } from '@vercel/global-config'
import { verifyAccountCookie } from './lib/account-cookie'

type Tier = 't1' | 't2' | 't3'
type TierMap = Record<string, { tier: Tier; segment: string }>

const TIERED = new Set(['/', '/pricing', '/platform'])
const UTM_TIER = /^(t1|t2|t3)-/

export async function proxy(request: NextRequest) {
  const url = request.nextUrl.clone()
  if (!TIERED.has(url.pathname)) return NextResponse.next()

  let served: Tier | 'default' = 'default'

  // 1. Signed account cookie set by /api/identify
  const acct = await verifyAccountCookie(request.cookies.get('nt_acct')?.value)
  if (acct && acct.group === 'personalized') {
    const tiers = await get<TierMap>('account_tiers')
    served = tiers?.[acct.domain]?.tier ?? 'default'
  } else if (!acct) {
    // 2. UTM hint, for this request only
    const m = url.searchParams.get('utm_campaign')?.match(UTM_TIER)
    if (m) served = m[1] as Tier
  }
  // Holdout accounts (acct.group === 'holdout') keep the default page.

  url.pathname = `/v/${served}${url.pathname === '/' ? '' : url.pathname}`
  url.search = '' // keep UTM variations out of the cache key
  return NextResponse.rewrite(url)
}

export const config = {
  matcher: ['/', '/pricing', '/platform'],
}

Three details matter here. The matcher limits Proxy to the tiered pages. Without one, the docs warn that Proxy runs on every request, static files included. The rewrite drops the query string, because Vercel's cache key includes the URL. And the UTM branch skips holdout accounts, so a forwarded link can't leak the tier page to them.

Build the tier pages as static routes

Create the tier pages under one dynamic segment and build all of them at deploy time.

// app/v/[tier]/pricing/page.tsx (trimmed example)
import type { Metadata } from 'next'
import { PricingPage } from '@/components/pricing-page'
import { TIER_CONTENT } from '@/content/tiers'

export const dynamicParams = false

export function generateStaticParams() {
  return ['t1', 't2', 't3', 'default'].map((tier) => ({ tier }))
}

export const metadata: Metadata = {
  robots: { index: false, follow: true },
  alternates: { canonical: '/pricing' },
}

export default async function Page({ params }: { params: Promise<{ tier: string }> }) {
  const { tier } = await params
  return <PricingPage content={TIER_CONTENT[tier]} />
}

Keep tier routes out of your sitemap. The noindex tag and the canonical keep /v/t1/pricing from showing up in search. Our guide to Next.js SEO on Vercel covers canonicals and sitemaps in more depth.

Identify once, then remember

The first visit gets the default page. After render, a small script calls /api/identify once. That route reads the visitor's IP from the x-forwarded-for header, which Vercel's request headers docs describe as the client's public IP. Or it reads the hubspotutk cookie and asks your CRM.

// app/api/identify/route.ts (trimmed example)
import { NextResponse } from 'next/server'
import { lookupCompanyByIp } from '@/lib/ip-vendor'     // your vendor adapter
import { lookupDomainByUtk } from '@/lib/crm'           // server-side CRM call
import { signAccountCookie, holdoutGroup } from '@/lib/account-cookie'

export async function POST(request: Request) {
  const utk = request.headers.get('cookie')?.match(/hubspotutk=([^;]+)/)?.[1]
  const ip = request.headers.get('x-forwarded-for')?.split(',')[0]?.trim()

  const domain =
    (utk && (await lookupDomainByUtk(utk))) ||
    (ip && (await lookupCompanyByIp(ip, { minConfidence: 'high' }))) ||
    null

  const res = NextResponse.json({ ok: true })
  res.headers.set('Cache-Control', 'private, no-store')
  if (!domain) return res

  const group = holdoutGroup(domain) // 'holdout' or 'personalized', hashed by account
  res.cookies.set('nt_acct', await signAccountCookie({ domain, group }), {
    httpOnly: false, // analytics reads the group
    secure: true,
    sameSite: 'lax',
    maxAge: 60 * 60 * 24 * 30,
    path: '/',
  })
  return res
}

The adapter should return a domain only when the vendor's own signal is strong. That means a business type from Snitcher, a Detailed match from Demandbase or a high confidence value from People Data Labs. The cookie is signed with an HMAC, so nobody can type in a competitor's domain and see your Tier 1 page.

The holdout assignment happens here, once per account. Hash the domain with a salt and send a fixed share to the holdout. Everyone at the same account lands in the same group, every time.

// lib/account-cookie.ts, holdout assignment (trimmed example)
const HOLDOUT_PERCENT = 50
const SALT = process.env.HOLDOUT_SALT ?? 'q1-2027'

export function holdoutGroup(domain: string): 'holdout' | 'personalized' {
  let h = 0x811c9dc5 // FNV-1a, 32-bit
  for (const ch of SALT + ':' + domain) {
    h ^= ch.charCodeAt(0)
    h = Math.imul(h, 0x01000193) >>> 0
  }
  return h % 100 < HOLDOUT_PERCENT ? 'holdout' : 'personalized'
}

How do you keep personalized HTML out of the cache?

This is where most builds go wrong. A CDN caches by URL. If one account's page gets cached at /pricing, the next visitor sees it. Vercel's guide to caching personalized pages is clear about the rules.

Rule Why
Cache tier pages, never account pages Four tier pages are shared by design. One account's page is not
Send Cache-Control: private, no-store on per-account responses private blocks CDN storage and no-store blocks both CDN and browser storage
Keep Vercel-CDN-Cache-Control and CDN-Cache-Control off personalized routes Vercel says these targeted headers override private and can make a personal response cacheable
Don't use Vary: Cookie Vercel doesn't cache those responses at all and serves them as a MISS
Vary only on small-value headers Each value gets its own cache entry. Vercel suggests headers like X-Vercel-IP-Country
Keep cookies() and headers() out of shared layouts Calling either in a layout makes every page under it dynamic

Vercel also lists what blocks caching on its own: an Authorization request header, a Set-Cookie response header, private or no-store in Cache-Control, and Vary: *. That is why the cookie gets set by /api/identify and never on the tier page itself.

How do you test it?

Request each tier page twice and check the cache header. Vercel reports cache status in x-vercel-cache.

# Tier page: second request should be a HIT
curl -sI https://www.example.com/v/t2/pricing | grep -i x-vercel-cache

# Personal route: should never be cached
curl -sI -X POST https://www.example.com/api/identify | grep -i -E "cache-control|x-vercel-cache"

# Public URL with a Tier 2 cookie should return Tier 2 content
curl -s -H "Cookie: nt_acct=<signed test value>" https://www.example.com/pricing | grep -o "data-tier=\"[a-z0-9]*\""

Add a data-tier attribute to each tier page's root element. It makes these checks and your analytics much easier.

What happens when identification fails?

It fails often, so design for it. The default page must be your best page, not a placeholder. Most visitors will see it, and so will every crawler.

Here is the fallback order I'd use.

  1. Signed cookie with a confirmed domain. Serve the tier page.
  2. No cookie, strong UTM hint. Serve the tier page for this request only.
  3. No cookie, no hint. Serve the default and call /api/identify once in the background.
  4. Vendor timeout, error or weak match. Keep the default. Don't retry on every page view.
  5. Global Config read fails. Catch the error and serve the default. A broken lookup should never break the page.

Two rules keep this safe. First, never block rendering on a vendor call. Give the identify route a short timeout and let it fail quietly. Second, keep the default page complete. Google's spam policies define cloaking as showing different content to users and search engines "with the intent to manipulate search rankings and mislead users." Crawlers carry no account cookie, so they get the default, just like any anonymous visitor.

How do privacy and consent apply?

Company-level personalization feels anonymous. Legally, it often isn't. The UK regulator, the ICO, lists IP addresses as an example of online identifiers that fall within the definition of personal data. Sending an IP to a vendor is processing personal data.

Cookies add a second layer. The ICO's guidance on how PECR relates to UK GDPR says PECR "prohibits the storage and access of information on a device unless an exception applies or you obtain consent." An account cookie for personalization is that kind of storage.

Here is how I'd set it up. This isn't legal advice, so check it with your counsel.

Step What to do
Consent gate Call /api/identify and set nt_acct only after consent, where the law requires it
Region default Vercel's x-vercel-ip-country header can pick a stricter default by country
Script vendors Delay person-level scripts until consent. RB2B says its script waits for consent with CookieYes, while other consent tools need manual setup
Data minimization Store the domain and group in the cookie, nothing else
Sensitive segments Don't build tiers on health, finances or other sensitive guesses about people
Privacy notice Name your identification vendors and what they receive

Visitors who decline still get the default page. That is the same page crawlers see, so the site still works.

How do you measure it with a holdout?

A holdout test keeps a random group of accounts on the default page. You compare their results with accounts that see tier pages. Without it, you can't tell whether personalization worked or whether Tier 1 accounts were always going to convert better.

Randomize by account, not by visitor

Three people from one account should see the same thing. So assign the group by hashed domain, as in the code above. Then measure two things.

  • Primary metric: demo or contact requests per identified visitor, by group. You get enough data for a significance test.
  • Business metric: pipeline per account, by group. This is the number leadership cares about. It usually has too few accounts for a clean significance test, so report it as directional.

One more nuance. Visitors from the same account behave alike. A per-visitor test can look more certain than it is. Counting at most one conversion per account per week takes some of that bias out.

Size the holdout before you launch

Use the A/B test calculator to plan the test. Enter your baseline conversion rate, the smallest lift worth finding, significance and power. It returns the sample size per variant and the days needed at your daily traffic.

Bar chart of holdout test length: 65 days with a 50/50 split and 163 days with an 80/20 split at 300 visits a day.Bar chart of holdout test length: 65 days with a 50/50 split and 163 days with an 80/20 split at 300 visits a day.
A smaller holdout group takes far longer to reach the same sample size. Worked example on assumed traffic and conversion rates. Worked example from this guide.

Say identified Tier 2 visitors request a demo at 2.0%. You want to detect a 30% relative lift, to 2.6%, at 95% significance and 80% power. A standard two-proportion calculation gives about 9,800 visitors per group. These are assumed inputs.

At 300 identified Tier 2 visits a day, a 50/50 split puts 150 in each group. That is 65 days to reach 9,800 per group. An 80/20 split leaves the holdout with only 60 a day, so the same test takes 163 days. A small holdout feels cheaper but makes you wait much longer for an answer.

Read the result honestly

When the test ends, check three things before you roll out.

  1. Did the primary metric reach significance in the calculator's result view, with a confidence interval that excludes zero?
  2. Does pipeline per account point the same way, even if it isn't significant?
  3. Did anything else change during the test, like a pricing change or a big campaign, that hit one group more than the other?

If the answer is yes, yes and no, keep a small holdout running as a guard. If the lift is flat, the tier copy isn't different enough, or the identification is too weak. Fix the weaker one and test again. For a broader testing cadence, see our guide to running a marketing experimentation program.

Where does tier personalization break?

These are the common failure modes, roughly in order of cost.

Cached account pages

Someone adds a Set-Cookie or a targeted cache header to the wrong route. One account's page gets served to everyone, or nothing gets cached and the site slows down. Run the curl checks after every deploy that touches routing.

A vendor call in the request path

The proxy waits on a vendor API, so every page gets slower, and an outage takes the site down. Keep vendor calls in the identify route, with a timeout.

Trusting weak matches

A visitor on a shared coworking network gets tagged as the building's biggest tenant. Filter on the vendor's own confidence or network type, and default when unsure.

Too many variants

Ten segments times four pages is forty pages to keep current. Copy goes stale in a quarter. Start with two tiers and the default, then add more only when a holdout proves the first ones work.

No holdout

Without a holdout, every Tier 1 win gets credited to personalization. Tier 1 accounts convert better anyway. That is why they are Tier 1.

Sales doesn't know

A Tier 1 buyer clicks "talk to your rep" and reaches a generic inbox. Route those requests the same way as your other high-intent leads. If you score leads, add the tier as an input, as covered in our lead scoring model guide.

A launch checklist

Work through this list before you send real traffic.

  1. Tier list exists in the CRM with a domain on every account.
  2. Daily sync writes account_tiers to Global Config, under the 1 MB limit.
  3. Tier content is written for the hero, proof, CTA and pricing anchor.
  4. Tier routes build statically, carry noindex and canonical tags, and stay out of the sitemap.
  5. proxy.ts has a matcher limited to tiered pages and strips the query string on rewrite.
  6. /api/identify sends private, no-store, has a timeout and only accepts strong matches.
  7. The account cookie is signed, holds only the domain and group, and is set after consent where required.
  8. Curl checks pass: tier pages HIT, personal routes never cached.
  9. Analytics records data-tier and the holdout group on every view and conversion.
  10. Holdout size and run length are set from the calculator and written down before launch.

What to do this week

Pick one page and two tiers. Most teams should start with the pricing page, because the pricing anchor is the easiest win to see.

  1. Export your tiered accounts with domains and count how many visit each week.
  2. Write the hero, proof, CTA and pricing anchor for one tier and the default.
  3. Size the holdout in the A/B test calculator and check the run length is acceptable.
  4. Build the proxy, the tier routes and the identify route in a preview deployment.
  5. Run the cache checks, then launch with the holdout on.

If you are still choosing tools for the rest of your account program, our ABM tech stack guide covers identification, intent and orchestration. And if you want this built and measured end to end, that is the kind of project our GTM engineering service takes on.

FAQ

Is B2B website personalization worth it for a small team?

Only if you already have a tiered account list and enough identified traffic to measure. Start with one page, usually the homepage or pricing page, and two versions: a tier page for your best-fit segment and the default. If you can't identify a few hundred target-account visits a week, put the effort into your target account list and outbound first.

How accurate is reverse-IP identification?

It varies by vendor, by country and by how your buyers work. Office networks match better than home internet and mobile data. Vendors publish their own claims, so treat any match rate as the vendor's number, not yours. The honest test is to run two vendors on a sample of your own traffic and check the matches against accounts you already know visited.

Does personalizing my homepage hurt SEO?

Not if crawlers and anonymous visitors get the same default page. Google treats showing search engines different content from users, with intent to mislead, as cloaking. Tier pages are a variation for identified humans. Keep the default page complete, keep tier routes out of your sitemap with a noindex tag, and point their canonical at the public URL.

Do I need consent to personalize by company?

In the UK and EU, usually yes for the parts that store or read data on the visitor's device, such as a cookie that remembers their account. The UK regulator also lists IP addresses as online identifiers that can be personal data. Load identification only after consent where the law requires it, and check the setup with your counsel.

What should I change first for Tier 1 accounts?

The proof and the CTA. A logo or case study from the account's own industry, plus a direct path to a named rep, moves more than a clever headline with the account's name in it. Add the account name only through a private, uncached request, and only once the identification is confirmed by a known contact or a signed link.

How long should a personalization holdout run?

Long enough to reach the sample size your calculator gives for your baseline conversion rate and the lift you care about, and at least two full weeks to cover weekly cycles. At low B2B traffic that can mean two months or more. If the estimate is too long, test one tier with the most traffic, or a bigger change you would expect to move the rate more.

More like this

Startup? Let's talk.

20 minute fit call. You'll leave knowing the first thing we'd fix and roughly what it costs. If we're not the right fit, we'll tell you who is.