Vercel Analytics
Reasonable, with limits. 8th of 9 product analytics SDKs.
Vercel Analytics is the zero-dependency SDK for Vercel's hosted Web Analytics. It gives privacy-friendly page views and basic custom events, and adding it to a Vercel-hosted Next.js or SvelteKit app takes one component. It is a sensible default for traffic numbers on Vercel. It is not a product analytics tool: it has no funnels or user flows, custom events are paywalled and capped at a few properties, and it only works if you host on Vercel.
Best for: Teams that already host on Vercel and want simple, cookieless traffic stats with almost no setup.
Scores
Overall6.2
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It is safe, easy and widely installed, and a fine choice for basic traffic stats on Vercel. As a product analytics SDK, its features are thin, the useful parts sit behind paid plans and it only works on one host. PostHog, Mixpanel or Amplitude suit most teams better for studying user behaviour.
- vercel.com/docs/analytics/limits-and-pricing: Plan gates on custom events and properties.
- swetrix.com/comparison/vercel-web-analytics/vs-posthog: Hosting lock-in and missing funnels.
- peers PostHog JS: PostHog has about 2.4x the downloads and 2,935 commits in the last year.
GPT-6.2 Sol: 6.8, likely 5.6 to 7.9
For a new site on Vercel, this is a good way to get cookie-free traffic counts and a few custom events with little setup. PostHog JS is the stronger general choice when the team needs to measure conversion steps, retention, or user paths. The recommendation depends on how long the project expects to stay on Vercel, and the gap between stable updates adds uncertainty.
- vercel.com/docs/analytics/quickstart: Documents the setup and built-in Vercel dashboard.
- vercel.com/docs/analytics/privacy-policy: Describes hash-based visitor counting and automatic page views.
- posthog.com/docs/product-analytics: Documents built-in funnels, retention, and user paths.
- github.com/vercel/analytics/releases: Shows the gap since the latest stable SDK release.
Needed by many4.7
How many developers need a tool for this job?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
Many web developers need traffic analytics. This SDK, though, only serves sites hosted on Vercel, and it covers web-traffic counting rather than full product analytics. That makes its audience a large but clearly bounded part of the category.
- swetrix.com/comparison/vercel-web-analytics/vs-posthog: Says it does not exist outside the Vercel ecosystem.
- gautamkhorana.com/analytics/compare/plausible-vs-vercel-analytics: Frames it as a traffic dashboard for Vercel sites.
GPT-6.2 Sol: 4.8, likely 3.5 to 6.1
Traffic and event measurement is relevant to many web teams, and the SDK works with several frameworks. Its strongest fit is the smaller group that deploys to Vercel and needs aggregate traffic reporting. Hosting surveys give a sense of that audience, with limited detail on how many teams need this kind of analytics.
- 2025.stateofjs.com/en-US/other-tools: 4,703 of 10,704 hosting respondents had used Vercel.
- vercel.com/docs/analytics/quickstart: Documents several framework integrations and requires a Vercel project.
Helps a lot5.8
How well does it do the job for those who need it?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
The SDK is small, typed and easy to get right, including for AI agents, since there is little to call. The service behind it is thin for product analytics. Custom events are missing on Hobby and limited to 2 properties on Pro, and there are no funnels, flows or replay. PostHog, Mixpanel and Amplitude do the category's job far better.
- vercel.com/docs/analytics/limits-and-pricing: Custom events are Pro or Enterprise only, with a cap on properties per event.
- swetrix.com/comparison/vercel-web-analytics/vs-posthog: Lacks user flows, custom funnels and error tracking.
- npm hasTypes: Ships its own types.
GPT-6.2 Sol: 6.5, likely 5.4 to 7.6
Stable 2.0.1 makes basic tracking easy, with typed examples that coding agents can follow and a simple browser and server API. Custom events are paid and have tight property limits, and PostHog provides deeper analysis with funnels and retention. Vercel fixed an early-event loss bug in a canary, and controlled comparisons of tracking accuracy are scarce.
- vercel.com/docs/analytics/custom-events: Shows typed examples for client-side and server-side event tracking.
- vercel.com/docs/analytics/limits-and-pricing: Custom events are paid, with two properties on standard Pro.
- github.com/vercel/analytics/pull/198: Documents silent event loss on hard refresh and the fix merged into canary.
- lookoutstats.com/compare/vercel-analytics-alternatives: An independent integration vendor compares Vercel’s traffic reporting with PostHog’s product analysis.
Holds up over time6.8
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Vercel funds the SDK, and its own hosting product depends on it, so abandonment is unlikely. Activity is modest: 18 commits in the last year and no stable release since March 2026, although canary builds continue to add features. The service is closed and tied to one host, which adds platform risk.
- github commitsLastYear: 18 commits in the last year.
- github.com/vercel/analytics/releases: Canary builds through October 2026; the latest stable is 2.0.1 from March.
- npm latestPublishedAt: The latest stable was published on 2026-03-12.
GPT-6.2 Sol: 6.6, likely 5.2 to 7.7
Vercel maintains the SDK as part of its hosted service, which added reporting for custom environments in November. The SDK had 18 commits over the past year, with roughly eight months since the last stable release and a tracking fix still in canary. Recent releases show one recurring publisher, leaving uncertainty about release coverage and when fixes will reach stable.
- evidence.github.commitsLastYear: 18 commits over the past year.
- peers: Most peers shipped a stable npm update in October or November.
- github.com/vercel/analytics/releases: The March stable patch was followed by canaries, with one recurring release author.
- vercel-docs.vercel.sh/changelog/speed-insights-and-web-analytics-now-support-custom-environments: Vercel added custom environment reporting in November 2026.
Used widely6.9
How many use it, and is that growing?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
Downloads grew about 9.1x year over year (42.5M against 4.66M), well above the 4.1 median. It has 18,078 dependent repositories, far more than any peer, including PostHog's 2,707. Part of that use comes from Vercel templates and generated apps that include the package by default, so not every install is a deliberate choice.
- npm downloadsLast4Weeks: 42.5M, against 4.66M a year earlier.
- dependents repos: 18,078 dependent repositories, the most in the category.
- medianDownloadsRatio: Its ratio of 9.1 is above the 4.1 median.
GPT-6.2 Sol: 6.3, likely 5.0 to 7.6
Four-week downloads rose from 4.7 million to 42.5 million, about 9.1× year over year against the catalog median of 4.1×. Ecosyste.ms found 18,078 dependent repositories, the highest reported count in the peer set, while PostHog’s installs grew faster. Automated installs, starter templates, and inclusion in v0 generations make the number of projects that deliberately chose and enabled it uncertain.
- evidence.npm: 42.5 million downloads over four weeks, up from 4.7 million a year earlier.
- medianDownloadsRatio: Catalog-wide year-over-year median is 4.1×.
- evidence.dependents: Ecosyste.ms found 18,078 repositories and 114 npm packages.
- peers: PostHog JS downloads grew about 12.1× and its indexed repository count was 2,707.
- community.vercel.com/t/news-cache-2025-09-08/22035: Vercel announced default inclusion in v0 generations.
- github.com/vercel/platforms/blob/main/package.json: Vercel’s Platforms starter includes the SDK.
Vouched for5.3
Who stands behind it being good?
Claude Opus 5.5: 4.5, likely 3.0 to 6.0
Its main backer is Vercel itself, and its wide use comes mostly from being built into the platform. Independent comparisons call it fine for basic traffic numbers but limited, and one Hacker News story is about outgrowing it. It has no Bluesky attention and no survey presence as a product analytics tool.
- hackerNews top: The only story is about an alternative for when you outgrow the free tier.
- bluesky posts: 0 posts.
- gautamkhorana.com/analytics/compare/plausible-vs-vercel-analytics: An independent comparison that positions it as a basic option.
GPT-6.2 Sol: 6.0, likely 4.8 to 7.2
The shadcn/ui documentation site integrates the SDK, and Vercel’s older Sonos case study reports production use. Recent users say it works well for basic traffic reporting, and Lookout has built a reporting tool on its API. Most of this evidence covers basic web analytics, with little independent evidence on satisfaction or capture accuracy for the current SDK.
- github.com/shadcn-ui/ui/blob/main/apps/v4/components/analytics.tsx: The shadcn/ui site integrates the React SDK.
- vercel-docs.vercel.sh/customers/how-sonos-amplified-their-devex: Vendor-published case study reports use by Sonos.
- reddit.com/r/SaasDevelopers/comments/1tilmd2/foundersbuilders_what_analytics_stack_are_you: Users report that it covers visits, routes, and location for their projects.
- lookoutstats.com/guides/vercel-web-analytics-api: An outside developer ships a cross-project dashboard and a typed API client.
Safe8.1
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It has zero dependencies, no known advisories and an MIT licence since 2.0. Since mid-2026, npm publishing uses OIDC trusted publishing, and the build sets a minimum release age for dependencies. There is no OpenSSF Scorecard to check, and the closed service receives your traffic data, which keeps the range open.
- npm dependencies: Zero dependencies.
- advisories total: No advisories.
- github.com/vercel/analytics/releases: Moved to OIDC trusted publishing and a pnpm minimumReleaseAge setting.
- scorecard: No Scorecard data.
GPT-6.2 Sol: 8.1, likely 6.8 to 9.2
The stable SDK uses the permissive MIT license, declares zero runtime dependencies, and has zero advisories in the supplied OSV data. Vercel reported that its April 2026 incident left its npm packages intact, and later canaries introduced trusted publishing with provenance. The missing Scorecard, limited public evidence about who can publish, and reliance on a hosted tracking script keep the range wide.
- evidence.npm.dependencies: Zero declared runtime dependencies.
- evidence.advisories: Zero recorded OSV advisories.
- evidence.scorecard: The bundle contains no OpenSSF Scorecard result.
- github.com/vercel/analytics/blob/v2.0.1/LICENSE: The stable release is MIT-licensed.
- vercel.com/kb/bulletin/vercel-april-2026-security-incident: Vercel reported no compromise of its published npm packages.
- github.com/vercel/analytics/releases: The June canary introduced npm trusted publishing.
- github.com/vercel/analytics/pull/203: The canary publishing workflow added signed provenance.
- vercel.com/docs/analytics/package: The SDK loads a tracking script from a configurable URL.
Good
- Setup is one component or one function call, with first-party bindings for Next.js, SvelteKit, Nuxt, Vue, Astro and Remix.
- It has no runtime dependencies, ships its own TypeScript types and uses the MIT licence.
- It collects cookieless, privacy-friendly page views that show up in the same Vercel dashboard you already use.
- Vercel backs it, and it has a very large base of dependent repositories.
Bad
- It only works with Vercel hosting, so moving to another host means losing your history.
- The Hobby plan has no custom events, and the Pro plan allows only 2 properties per event unless you pay more.
- It has no funnels, user flows, session replay, cohorts or feature flags, all of which PostHog offers.
- Stable releases have slowed since v2.0.1 in March 2026, and newer features such as identify, group and attribution are still in canary builds.
The numbers
- npm downloads, 4 weeks
- 42M ×9.1 in a year
- GitHub stars
- 521
- Commits, 12 months
- 18
- npm version
- 2.0.1 Mar 2026
- Versions, 12 months
- 4
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The SDK of an analytics service that is not open source.
Read on 21 November 2026 from GitHub (vercel/analytics), npm (@vercel/analytics), OSV and the OpenSSF Scorecard.
Product analytics SDKs
- 8.2PostHog JS
- 7.3Amplitude SDK
- 7.3Plausible tracker
- 7.0Mixpanel SDK
- 6.8RudderStack SDK
- 6.5OpenPanel
- 6.5Segment Analytics.js
- 6.2Vercel Analytics
- 4.9Analytics