Vercel Analytics vs PostHog for Solo Developers
Comparing Vercel Analytics and PostHog for solo developers. Lightweight web analytics vs a full product analytics platform. Pricing, features, and which to pick.
Quick Comparison
| Feature | Vercel Analytics | PostHog |
|---|---|---|
| Type | Lightweight web analytics (pageviews plus optional custom events) | Full product analytics, session replay, feature flags, experiments, surveys |
| Free tier | Hobby: 50,000 events per month, then collection pauses | 1M events, 5K session replays, 1M feature-flag requests, 1,500 survey responses per month |
| Overage price | Pro: $3 per 100,000 events ($0.00003 each) | From $0.00005 per event, $0.005 per replay, $0.0001 per flag request |
| Base subscription | Pro platform fee $20/mo (includes $20 usage credit, 1 seat) | $0 on the free tier, pay-as-you-go after |
| SDK | @vercel/analytics v2.0.1 | posthog-js v1.376.4 |
| Source model | Closed-source, Vercel only | Open source (34,764 GitHub stars), self-host or cloud |
| Learning Curve | Trivial | Moderate |
| Best For | Vercel-hosted sites that just need traffic numbers | Apps that need funnels, replays, flags, experiments |
| Solo Dev Rating | 7/10 | 9/10 |
Vercel Analytics Overview
Vercel Analytics is the zero-config traffic dashboard that ships inside the Vercel platform. You flip a toggle, add a tiny script, and you start seeing pageviews, top pages, referrers, countries, and devices. There is no cookie banner to negotiate because the tracking is privacy-first and cookieless by design.
The dashboard sits right next to your deployments, so you never leave the Vercel UI. For solo developers who already deploy to Vercel and just want to know whether anyone is visiting the marketing site, this is the path of least resistance. Speed Insights, the sibling product, layers Core Web Vitals on top of the same install.
The trade-off is depth. Vercel Analytics shows you what happened at the page level, not what happened inside the product. There are no event funnels, no user identification, no session replays, and no feature flags. It is a traffic counter with good ergonomics, nothing more.
PostHog Overview
PostHog is the open-source product analytics platform that bundles event tracking, session replay, feature flags, A/B experiments, surveys, and a data warehouse into a single tool. You install one snippet and you get the whole stack. The free tier covers one million events per month, which is enough to run a small SaaS for a long time before you owe anyone money.
The session replay alone is worth the install. You can scrub through a recording of a confused user clicking the wrong button and finally understand why your signup conversion is stuck at three percent. Feature flags let you gate releases behind a boolean and roll out to ten percent of users without redeploying. Experiments let you actually measure whether the new pricing page beats the old one.
You can self-host PostHog on a single VPS if you want zero vendor lock-in, or you can use PostHog Cloud and let them deal with the infrastructure. For solo developers, Cloud is almost always the right call. Self-hosting saves money in theory and costs you weekends in practice.
Key Differences
These tools answer different questions. Vercel Analytics tells you how many people visited your marketing page yesterday. PostHog tells you how many of those people signed up, which feature they clicked first, where they got stuck, and whether the cohort from your last launch is still active four weeks later. One is a counter, the other is a microscope.
Pricing scales very differently. Vercel Analytics bills per data point and gets surprisingly expensive on high-traffic marketing sites if you go past the included tier. PostHog bills per event but the first million events per month are free, and event volume on a product is usually lower than pageview volume on a content site. For a typical solo SaaS, PostHog ends up cheaper at scale.
Installation effort is comparable, but instrumentation effort is not. Both tools install in a single line. PostHog only pays off if you instrument custom events, identify users, and build funnels. That is real work. Vercel Analytics requires zero ongoing maintenance because there is nothing to instrument. If you will not invest the hour to tag events properly, PostHog is overkill.
Privacy posture differs. Vercel Analytics is cookieless and does not require a consent banner in most jurisdictions. PostHog uses cookies by default and you will need a banner if you ship to the EU. PostHog can be configured cookieless, but you lose cross-session user identification, which guts most of the value.
Vendor lock-in is the long-term factor. Vercel Analytics only works on Vercel. The moment you migrate to another host, your historical analytics data is gone. PostHog is open source, exports cleanly, and follows you to any platform. For a solo dev who might switch hosts in two years, that portability matters.
By the Numbers (2026)
The marketing copy is easy to skim past, so here are the figures that actually decide the call, all pulled fresh on 2026-05-29.
Adoption. PostHog is the open-source heavyweight here. The main repository carries 34,764 GitHub stars and 2,792 forks, and the browser SDK posthog-js pulls about 6,633,192 npm downloads per week. Vercel Analytics ships as the closed-source @vercel/analytics package, which still does serious volume at roughly 3,598,426 weekly downloads, and its companion @vercel/speed-insights adds another 2,307,616. So both are mainstream, but PostHog has the larger installed footprint and a public codebase you can read.
Versions. The current SDKs are @vercel/analytics v2.0.1 and @vercel/speed-insights v2.0.0 on Vercel's side, and posthog-js v1.376.4 on PostHog's. The high minor version on posthog-js is not version inflation, it reflects how often PostHog ships.
Free tier, side by side. Vercel's Hobby plan includes 50,000 events per month, and when you hit the cap collection simply pauses until the next cycle (Hobby teams cannot buy extra events). PostHog's free tier is far more generous per dimension: 1,000,000 product-analytics events, 5,000 session-replay recordings, 1,000,000 feature-flag requests, and 1,500 survey responses every month before you pay anything.
Overage rates. On Vercel Pro, additional Web Analytics events cost $3 per 100,000, which is $0.00003 each. PostHog's overage tiers start at $0.00005 per analytics event, $0.005 per session replay, and $0.0001 per feature-flag request, with the per-unit price dropping at higher volume. Note that PostHog's per-event rate is higher than Vercel's, but PostHog gives you a full million events free first, so the comparison is not a straight per-unit fight.
The hidden Vercel cost. Web Analytics overage only applies on the Pro plan, and Pro carries a $20/month platform fee. That fee does include $20 of usage credit, so light analytics usage can be absorbed by the credit, but you are still paying $20/month to be on Pro at all. Speed Insights is a separate $10/month per project add-on, and Web Analytics Plus (longer reporting window, UTM parameters, more custom-event properties) is another $10/month.
Real Cost at Solo-Dev Scale
Take a realistic solo SaaS: roughly 300,000 events per month, mostly pageviews plus a handful of custom events like signup-started and checkout-completed.
PostHog at this scale costs $0. You are well inside the 1,000,000-event free tier, with session replay and feature flags included on top at no charge. You would not see a bill until you cross a million events, and even then a million events is only $50 in overage.
Vercel Web Analytics at this scale costs $20/month effectively. The events themselves come to 300,000 divided by 100,000 times $3, which is $9.00. That $9 draws against the $20 usage credit bundled into the Pro plan, so the analytics line item can hide inside the credit. The catch is that the $20/month Pro platform fee is required to collect events past the Hobby cap in the first place. If your project is purely a Hobby-plan marketing site, you stay free up to 50,000 events and then collection just stops.
Scale both up to 2,000,000 events per month and the gap narrows but PostHog still wins on raw analytics. Vercel charges 2,000,000 divided by 100,000 times $3, which is $60 in events, leaving about $40 on-demand after the $20 credit, on top of the $20 platform fee. PostHog charges $50 for the second million events (the first million stays free), and that $50 still buys you replays, flags, and experiments that Vercel Analytics does not offer at any price.
The honest summary on cost: for a real product under a million events a month, PostHog is free and Vercel Analytics costs you the $20 Pro floor. The only scenario where Vercel is cheaper is a Hobby-plan content site that never needs more than pageviews and stays under 50,000 events.
When to Choose Vercel Analytics
- You host on Vercel and want analytics inside the same dashboard
- Your site is content or marketing focused, not product focused
- You want zero instrumentation work and zero cookie banners
- You only need pageviews, referrers, and basic geo data
- Core Web Vitals via Speed Insights is on your roadmap
When to Choose PostHog
- You are building a product and need funnels, retention, and cohorts
- Session replay would help you debug confusing user flows
- You want feature flags and A/B experiments in the same tool
- You expect to switch hosts at some point and want portable data
- You want one analytics stack you can grow into for years
The Verdict
For a solo developer building an actual product, PostHog is the better long-term bet. The free tier covers more usage than most solo apps will ever hit, the session replay feature pays for itself the first time it shows you why a user bounced, and the open-source core means your data is never trapped behind one vendor's pricing change.
Vercel Analytics earns its keep on pure marketing sites and content blogs where you genuinely do not care about event funnels. If your whole product is a Next.js landing page that links to Stripe Checkout, Vercel Analytics plus Speed Insights is enough and you can ship in an afternoon. The moment you add a real signup flow, you have outgrown it.
The honest take is to run PostHog from day one on any product, even if you only use the pageview tracking at first. Future-you will thank past-you for already having three months of event history when you finally need to debug your onboarding funnel. Install once, instrument as you go, and skip the migration headache entirely.
Sources
All figures verified on 2026-05-29.
- PostHog pricing (free tier allowances and overage rates): https://posthog.com/pricing
- Vercel Web Analytics limits and pricing (Hobby 50,000 events, Pro $3 per 100,000 events, Web Analytics Plus $10/mo): https://vercel.com/docs/analytics/limits-and-pricing
- Vercel Pro plan platform fee ($20/mo with $20 usage credit, Speed Insights $10/mo per project): https://vercel.com/docs/plans/pro-plan
- PostHog GitHub repository (34,764 stars, 2,792 forks), via the GitHub API repos/PostHog/posthog: https://github.com/PostHog/posthog
- posthog-js npm version (1.376.4): https://registry.npmjs.org/posthog-js/latest
- posthog-js npm weekly downloads (6,633,192, week of 2026-05-22 to 2026-05-28): https://api.npmjs.org/downloads/point/last-week/posthog-js
- @vercel/analytics npm version (2.0.1): https://registry.npmjs.org/@vercel/analytics/latest
- @vercel/analytics npm weekly downloads (3,598,426, week of 2026-05-22 to 2026-05-28): https://api.npmjs.org/downloads/point/last-week/@vercel/analytics
- @vercel/speed-insights npm version (2.0.0) and weekly downloads (2,307,616): https://registry.npmjs.org/@vercel/speed-insights/latest and https://api.npmjs.org/downloads/point/last-week/@vercel/speed-insights
Like this? You'll like what I'm building too.
Two ways to support and get more of this work.
HEARTH
A privacy-first Life OS for your desktop. Journal, tasks, and notes that stay on your machine. Coming soon, direct download from this site.
Read moreMY TOOLKITS
Receipts-first toolkits for shipping after hours, building Claude agents, publishing on Amazon, and more. The exact methods I used, not theory.
Browse on WhopRelated Articles
Amplitude vs PostHog for Solo Developers
Comparing Amplitude and PostHog for solo developers. Enterprise product analytics vs open-source all-in-one. Features, pricing, and the honest verdict.
Angular vs HTMX for Solo Developers
Comparing Angular and HTMX for solo developers. Features, pricing, pros and cons, and which one to pick for your next project.
Angular vs Qwik for Solo Developers
Comparing Angular and Qwik for solo developers. Features, pricing, pros and cons, and which one to pick for your next project.