# Vercel Analytics vs PostHog: a built-in counter or a product suite?

Published 2026-11-23 · Updated 2026-11-23

**Short answer:** Pick Vercel Web Analytics if your app is on Vercel and you only need cookieless page views, visitors and a few custom events, switched on from the project dashboard with no second account. Pick PostHog if you need to understand what users do: funnels, person profiles, session replay, feature flags, experiments and error tracking, with 1M free events a month on any host. For a Next.js app that is growing past simple traffic numbers, PostHog does far more for the same or less money, at the cost of cookies by default and more to learn.

Vercel Web Analytics and PostHog often meet in the same Next.js codebase. Vercel's is the traffic dashboard built into its hosting platform: enable it on a project and page views show up next to your deployments. PostHog is an open source product platform: product and web analytics, session replay, feature flags, experiments, surveys, error tracking and a data warehouse, each billed by usage with a free tier every month.

We read Vercel's analytics docs and pricing and PostHog's pricing and docs on 23 November 2026 for this page. For a head-to-head with us, see [CrispStats vs Vercel Analytics](/vs/vercel-analytics) and [CrispStats vs PostHog](/vs/posthog). If you only need traffic numbers on any host, read [Vercel Analytics vs Plausible](/compare/vercel-analytics-vs-plausible); for a Next.js setup in general, our [Next.js analytics guide](/blog/nextjs-analytics-guide).

## The differences that matter

### What each one is for

- **Vercel Web Analytics:** Counting traffic on a Vercel project: page views, visitors and, on Pro, custom events with a few properties. Funnels, revenue attribution and visitor journeys are not part of the Web Analytics docs.
- **PostHog:** Understanding product use. Web analytics is a pre-built dashboard of visitors, sessions, bounce rate, referrers, UTMs and Core Web Vitals on the same events as product analytics, with funnels, user paths, person profiles and replays a click away.

If the question is "how many people came and from where", Vercel answers it with nothing to set up. If the next question is "why did they not finish sign-up", you need PostHog or something like it. Nothing stops you starting with Vercel's and adding PostHog when that second question arrives.

### How the price is set

- **Vercel Web Analytics:** By events across every project in your team, where an event is a page view or a custom event. [Hobby](https://vercel.com/docs/analytics/limits-and-pricing) includes 50k events a month. Pro bills $0.03 per 1k events on top of the $20 a month platform plan, which includes a $20 usage credit. Web Analytics Plus is $10 a month per team.
- **PostHog:** Usage based per product. [Product analytics](https://posthog.com/pricing) is free for 1M events a month, then $0.00005 per event for the next million, falling with volume. Replays, flags, surveys and error tracking have their own meters and free tiers. No per-seat charges.

A worked example, computed from both published rates: at 100k events Vercel Pro usage is $3 and PostHog is $0. At 1M events Vercel is $30 and PostHog is still $0. At 2M Vercel is $60 and PostHog about $50. Vercel's only cost advantage is that Hobby is free with no setup beyond a package, up to 50k events. Your own monthly event count goes into the [analytics cost calculator](/tools/analytics-cost-calculator).

### Cookies and the consent banner

- **Vercel Web Analytics:** No cookies. Visitors are counted with a request hash that resets every day.
- **PostHog:** By default the JavaScript library stores a first-party cookie and localStorage. A cookieless option exists, and PostHog says that with it you need no banner just for web analytics.

Vercel is cookieless with no configuration. PostHog can be, but you choose it, and doing so limits how well it recognises returning users, which is much of PostHog's value. If no banner is a hard rule, decide which PostHog mode you will run first. See [cookie consent](/glossary/cookie-consent); this is not legal advice.

### Where it runs

- **Vercel Web Analytics:** Only on projects deployed on Vercel. The service cannot be self-hosted; the `@vercel/analytics` client package is MIT licensed.
- **PostHog:** On any host, through a script or SDKs. PostHog Cloud has US and EU regions, and the open source code (MIT outside the ee/ directory) can be self-hosted with Docker Compose, which PostHog calls officially unsupported.

Vercel ties your analytics to your host: move the app and the history stays behind. PostHog moves with you, and offers an EU region if you need one.

### How far back you can look

- **Vercel Web Analytics:** The reporting window is 1 month on Hobby, 12 months on Pro and 24 months with Web Analytics Plus.
- **PostHog:** The free plan keeps 1 year of data and 1 project; paid plans keep 2 years and allow 6 projects, or unlimited projects with the Boost package.

One month on Vercel Hobby is short: you cannot compare this month with the last. PostHog's free plan gives a year, and its paid plan two, close to Vercel's 24 months with Plus. See [data retention](/glossary/data-retention).

### Limits and surprises

- **Vercel Web Analytics:** On Hobby, once 50k events are used, a 3-day grace period starts and then collection stops; Vercel says it resumes after 7 days or when you upgrade. On Pro you pay per event, with spend management to cap it.
- **PostHog:** Above the free tiers you pay for what you use across several meters, so a month's bill moves with traffic and with which products you turn on.

Vercel Hobby fails by losing data; Vercel Pro and PostHog fail by charging more. Neither surprise is large at small scale, but know which one you have signed up for.

### Page speed, errors and agents

- **Vercel Web Analytics:** Core Web Vitals are a separate product, Speed Insights, with every vital on Speed Insights Plus at $10 per project a month. Data is readable through the Web Analytics API, the Vercel CLI and the Vercel MCP server.
- **PostHog:** Core Web Vitals are in the web analytics dashboard. Error tracking includes 100,000 exceptions a month free. A hosted MCP server and PostHog AI query and change the same project.

PostHog bundles performance and errors into the tool you already have. On Vercel they are separate products on separate bills, though they live in the same dashboard as your deployments and logs. See [Core Web Vitals](/glossary/core-web-vitals).

## Choose Vercel Web Analytics if

- Your app is on Vercel and you only need page views, visitors and sources.
- You want analytics switched on from the project dashboard, with no second account or vendor.
- You want cookieless counting without configuring anything.
- Your traffic fits in 50k events a month and 1 month of history is enough.

## Choose PostHog if

- You need funnels, user paths, person profiles or session replay.
- You want feature flags, experiments, surveys or error tracking in the same tool.
- You want a free tier of 1M events and a year of history.
- You host anywhere other than Vercel, or want to keep your history if you move.
- You want the code to be open source, or an EU cloud region.

## The facts side by side

|  | Vercel Web Analytics | PostHog | CrispStats |
| --- | --- | --- | --- |
| Hosting | hosted | both | hosted |
| Open source | No (The @vercel/analytics client package is MIT licensed; the service runs on Vercel) | Yes (MIT) | No |
| Free plan | 50k events a month (Hobby; collection pauses at the limit) | 1M events a month (Plus a free tier on every other product; 1 project and 1 year of data on Free) | No (14-day free trial, no card) |
| Priced by | events | events | events |
| Lowest paid plan | $20 (Vercel Pro platform plan, which includes a $20 usage credit) | $0 base (Pay as you go above the free tiers) | $5 (Starter, 250k events) |
| At 10k a month | $0 (Hobby includes 50k events a month) | $0 (Inside the first 1M free product analytics events. Computed from the published per-event rates.) | $5 (Starter) |
| At 100k a month | $3 in usage (Computed from $0.03 per 1k events on Pro; needs the Pro plan, and UTM reports need the $10 Plus add-on) | $0 (Inside the first 1M free product analytics events. Computed from the published per-event rates.) | $5 (Starter) |
| At 1M a month | $30 in usage (Computed from $0.03 per 1k events on Pro; needs the Pro plan, and UTM reports need the $10 Plus add-on) | $0 (Exactly the 1M free events; the next million is $0.00005 per event. Computed from the published per-event rates.) | $12 (Growth) |
| Works without cookies | Yes | Optional (Cookie and localStorage by default) | Yes (No cookies, no stored IP addresses) |
| Cookie consent needed in the EU | Not verified | Depends on setup (PostHog says the cookieless option avoids a banner for web analytics) | No cookies set (Nothing is stored on the device by default) |
| Revenue attribution | Not verified | Yes (Revenue analytics from Stripe or from revenue events; Stripe is the only connected payment platform so far) | Yes (Stripe, Polar, Paddle, Dodo Payments, Creem, Whop, Razorpay, Freemius, Lemon Squeezy, Shopify, RevenueCat, Superwall, App Store, Shopify App Store) |
| Funnels | Not verified | Yes | Yes |
| Goals and custom events | Pro and up (Custom events are not on Hobby) | Yes (Custom events and autocapture) | Yes |
| Custom event properties | 2 on Pro, 8 with Plus (Properties per custom event) | Yes | Yes |
| Visitor profiles and journeys | Not verified | Yes (User paths and person profiles) | Yes |
| Realtime globe or map | Not verified | Not verified | Yes (Live 3D globe) |
| UTM campaign reports | Plus add-on ($10 a month per team on Pro) | Yes | Yes |
| AI traffic | Not verified | Not verified | Yes |
| AI chat over your data | Not verified | Yes (PostHog AI) | Yes |
| MCP server | Yes (Through the Vercel MCP server) | Yes (Hosted MCP server, free to connect) | Yes |
| API | Yes (Web Analytics API) | Yes | Yes (REST API on every plan) |
| Web vitals from real visits | Separate product (Speed Insights; every Core Web Vital needs Speed Insights Plus at $10 per project a month) | Yes (Core Web Vitals in web analytics) | Yes |
| JavaScript error tracking | Not verified | Yes (100,000 exceptions a month free) | Yes |
| Uptime monitoring and status page | Not verified | Not verified | Yes |
| Session replay | Not verified | Yes (5,000 recordings a month free) | No |
| Heatmaps | Not verified | Yes | No |
| Feature flags | Not verified | Yes (1M requests a month free) | No |
| A/B testing | Not verified | Yes (Billed with feature flags) | No |
| Surveys | Not verified | Yes (1,500 responses a month free) | No |
| Data warehouse | Not verified | Yes (Query Stripe, HubSpot, Postgres and more with SQL) | No |
| Free plan | 50k events a month (Hobby) | 1M events a month (Then usage based) | No (14-day free trial, no card) |
| Every feature on every plan | Not verified | Not verified | Yes |
| Sites | Unlimited projects (Events are shared across the team) | 1 project on Free, 6 on paid (Unlimited with the Boost package) | 10 on Starter (Unlimited from Growth) |
| Trial of paid plans | Not verified | Not verified | 14 days (No card required, every feature) |
| If you go over the plan | Hobby pauses, Pro bills (Hobby stops collecting after a 3-day grace period; Pro pays per event) | Not verified | Paid: keeps recording (Paid plans stay open at $1 per extra 100k; the trial pauses at 25k a month) |
| Open source | Not verified | Yes (MIT outside ee/) | No |
| Self-hosting | No | Yes (Docker Compose deploy, officially unsupported) | No (Hosted only) |
| Works on any host | No (Needs a Vercel project) | Not verified | Yes |

Sources:

- Vercel Web Analytics, checked 2026-11-23: [Docs: Web Analytics](https://vercel.com/docs/analytics), [Docs: pricing for Web Analytics](https://vercel.com/docs/analytics/limits-and-pricing), [Pricing](https://vercel.com/pricing), [Docs: quickstart](https://vercel.com/docs/analytics/quickstart), [Docs: Web Analytics API](https://vercel.com/docs/analytics/web-analytics-api), [Docs: Vercel MCP web analytics tool](https://vercel.com/docs/agent-resources/vercel-mcp/tools/web-analytics/get_web_analytics), [Docs: Speed Insights pricing](https://vercel.com/docs/speed-insights/limits-and-pricing), [GitHub: vercel/analytics](https://github.com/vercel/analytics)
- PostHog, checked 2026-11-23: [Pricing](https://posthog.com/pricing), [Pricing (Markdown)](https://posthog.com/pricing.md), [Web analytics](https://posthog.com/web-analytics), [Docs: JavaScript persistence and cookies](https://posthog.com/docs/libraries/js/persistence), [Docs: revenue analytics payment platforms](https://posthog.com/docs/revenue-analytics/payment-platforms), [Docs: self-host](https://posthog.com/docs/self-host), [Docs: heatmaps](https://posthog.com/docs/toolbar/heatmaps), [Docs: PostHog AI](https://posthog.com/docs/posthog-ai), [MCP server](https://posthog.com/mcp), [Docs: API](https://posthog.com/docs/api), [License](https://github.com/PostHog/posthog/blob/master/LICENSE)
- CrispStats, checked 2026-11-23: [CrispStats pricing](https://crispstats.com/pricing), [CrispStats docs](https://docs.crispstats.com)

## Where CrispStats fits

We make CrispStats, and it sits between these two. It is cookieless like Vercel's analytics but works on any host, and it covers some of what teams add PostHog for: funnels, web vitals from real visits, JavaScript error tracking and revenue from Stripe and seven other payment providers, plus uptime checks, at a flat price per plan instead of per-event usage. It has no session replay, heatmaps, feature flags, experiments, surveys, cross-day person profiles or data warehouse, so a product team that needs those should pick PostHog. It is closed source, hosted only, and launched in November 2026.

## Frequently asked questions

### Is PostHog better than Vercel Analytics?

For anything beyond traffic counts, yes: PostHog has funnels, user paths, session replay, feature flags, experiments and error tracking, and a larger free tier. Vercel Web Analytics is simpler, cookieless by default and built into the Vercel dashboard, which is what some teams want.

### Can I use Vercel Analytics and PostHog together?

Yes. They are independent, so you can keep Vercel's numbers in the deployment dashboard and use PostHog inside the product. Both count the same page views, so on Vercel Pro you pay Vercel for events PostHog also records, free or not.

### Which is cheaper at 1M events a month?

PostHog, on list price: 1M product analytics events fit in its free tier, while Vercel Pro bills $30 in usage at $0.03 per 1k events, on top of the $20 platform plan. Checked on 23 November 2026.

### Does PostHog work on Vercel?

Yes. PostHog runs on any host, including Vercel, through its script or SDKs. Vercel Web Analytics, the other way round, works only on Vercel.
