Elestia Open Source Ratings
6.2

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.

WebsiteGitHubnpm

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

  1. 8.2PostHog JS
  2. 7.3Amplitude SDK
  3. 7.3Plausible tracker
  4. 7.0Mixpanel SDK
  5. 6.8RudderStack SDK
  6. 6.5OpenPanel
  7. 6.5Segment Analytics.js
  8. 6.2Vercel Analytics
  9. 4.9Analytics
Compare all 9 on six scores