Elestia Open Source Ratings
7.3

Amplitude SDK

A strong pick. 2nd of 9 product analytics SDKs.

Amplitude's official TypeScript browser SDK sends events to Amplitude's closed-source analytics service. It is well maintained and rich in features: autocapture, attribution, session replay and plugins. It is a solid pick for teams that already chose Amplitude, but it ties you to a paid vendor. PostHog JS is gaining ground faster.

Best for: Product and growth teams that have chosen Amplitude's hosted analytics and experimentation platform.

WebsiteGitHubnpm

Scores

Overall7.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It is a capable, well-funded and actively maintained SDK, and the right one if you use Amplitude. It ties you to a closed paid service, carries a heavy bundle and has open attribution and consent bugs. Its growth is below the median. PostHog JS is open source and growing much faster, so it is the better default for most new projects.

GPT-6.2 Sol: 8.0, likely 7.0 to 8.9

Choose Amplitude’s SDK when the team wants Amplitude’s hosted reporting and needs both explicit instrumentation and automatic browser tracking. The typed API, Lite build, and active maintenance make it a strong new-project choice in that setting. For a team choosing its analytics stack from scratch, PostHog JS has stronger adoption momentum and offers event tracking, replay, and feature flags through one SDK. Most independent feedback covers the hosted platforms, leaving some uncertainty about how the current browser SDKs compare in production.

Needed by many6.0

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Most teams that ship a web app or site want product analytics, so the category is broad. This package covers browsers only, and it only helps teams that use Amplitude's service, which narrows its take on the job. Sibling packages cover Node and React Native.

GPT-6.2 Sol: 6.0, likely 4.8 to 7.1

Feature usage, conversion, and retention matter to many teams building customer-facing web apps. The browser SDK works across frameworks, though it serves teams that want a dedicated product analytics service and sends its data to Amplitude. Developer surveys establish the size of the JavaScript and TypeScript audience, while available adoption studies cover selected groups of businesses.

Helps a lot7.7

How well does it do the job for those who need it?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It is full-featured: typed track/identify APIs, plugins, autocapture, attribution, session replay and remote config. The main limits are a heavy bundle of about 57 KB gzipped and open bugs in attribution and consent options. Defaults also change between minor versions. It is good, but PostHog does more in one SDK for engineers, and lighter trackers are much smaller.

GPT-6.2 Sol: 8.3, likely 7.2 to 9.2

Version 2.49.4 covers custom events, identity, sessions, campaign attribution, and configurable autocapture. The typed API, troubleshooting examples, and upload status messages give developers and coding agents a clear way to verify delivery, though asynchronous calls use a separate promise property. The Lite build cuts bundle size by dropping autocapture. Independent evidence on current runtime overhead and delivery reliability is thin.

Holds up over time8.2

Will it still be a good choice in two years?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

A public company pays for the work and depends on the SDK for its revenue. In the last year the repository had 565 commits and 71 contributors, and releases come out almost daily. The 2.x line has been stable since 2023. The 119 open pull requests and 66 open issues show some backlog, and the SDK is only as durable as Amplitude's business.

  • github commitsLastYear: 565 commits in the last year
  • npm versionsLastYear: 78 versions; latest published 2026-11-19
  • github openPullRequests: 119 open PRs and 66 open issues
  • github.com/amplitude/Amplitude-TypeScript/releases: Frequent releases across many packages

GPT-6.2 Sol: 8.3, likely 7.1 to 9.2

Amplitude funds the SDK and several maintainers have run the release workflow successfully. The browser package published 78 versions in a year, including routine version bumps, and shipped delivery fixes and the Lite build. Triage is uneven, with one production Safari report closed after about seven weeks, and a minor release changed the default attribution behavior. The SDK’s long-term value depends on Amplitude’s hosted platform.

Used widely5.7

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It had 14.7M downloads in the last 4 weeks, up 3.6 times on a year ago. That is below the 4.1 median ratio, about level with Mixpanel and Segment and far behind PostHog and Vercel Analytics. Its 440 dependent repos are similar to Segment's (398) but well under Mixpanel's (1218) and PostHog's (2707). Downloads are inflated by CI and by enterprise sites that run many builds.

  • npm downloadsLast4Weeks: 14.66M, up from 4.08M a year ago (ratio 3.6)
  • medianDownloadsRatio: The median ratio of 4.1 is higher, so it is losing relative ground
  • dependents repos: 440 repos and 103 packages
  • peers PostHog JS: PostHog has 101M downloads, 12 times more than a year ago

GPT-6.2 Sol: 5.3, likely 3.8 to 6.8

Four-week npm downloads rose from 4.1 million to 14.7 million, a 3.6× increase that trails the 4.1× baseline and PostHog JS’s 12.1× increase. Ecosyste.ms found 440 repositories and 103 packages, with fewer indexed repositories than Mixpanel and PostHog. CI and installs through Amplitude’s Unified SDK raise download counts, CDN installs escape the count, and the 181 stars are shared across several SDKs. Ramp’s spending data shows Amplitude still wins new platform customers, though PostHog leads by a wide margin.

Vouched for6.7

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.0 to 7.0

Amplitude is a long-established commercial analytics platform that many large companies use, and analyst rankings place it among the leaders. Independent write-ups of the SDK itself are rare, and most comparisons come from competing vendors. It has no Hacker News or Bluesky presence and does not appear in developer surveys.

GPT-6.2 Sol: 7.4, likely 6.0 to 8.6

Cisco lists Browser SDK 2 in a shipped product, and an independent report found Amplitude widely deployed among Fortune 1000 companies that use product analytics. Recent users report that Amplitude helps them study feature usage and funnels, with some describing a learning curve for event management. Most of that feedback covers the hosted service, leaving less direct evidence about satisfaction with the current SDK.

Safe7.5

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has no OSV advisories, an MIT licence and 9 direct dependencies, and a company team publishes it. It has no Scorecard data. Session replay pulls in rrweb, which adds surface area. Users report that cookies are still set when opt-out is on, which is a privacy and compliance risk to check before you ship.

GPT-6.2 Sol: 8.0, likely 6.7 to 9.0

The SDK uses the permissive MIT license, and OSV lists zero advisories for the package. GitHub Actions uses OIDC for npm publishing, and several maintainers can run releases. Eight of the nine direct dependencies are Amplitude packages, and the SDK supports opt-out controls. The missing OpenSSF Scorecard and repository security policy limit confidence in the public security record.

Good

  • Amplitude, a public company, maintains it actively: 565 commits and 78 npm versions of the browser package in the last year.
  • It is written in TypeScript and ships its own types, with a plugin system and an optional typed tracking-plan codegen (Ampli).
  • Autocapture, web attribution, page views, web vitals and session replay all come from one monorepo.
  • It has no known advisories, an MIT licence and only 9 direct dependencies.

Bad

  • The bundle is large, about 57 KB gzipped, and an open issue asks for a modular build without the bundled autocapture plugins.
  • It is only useful with Amplitude's closed, paid service, so you are locked in to the vendor.
  • Open issues report bugs in attribution, opt-out cookies and trackingOptions, and some have long threads.
  • Defaults keep shifting across 2.x minor versions (autocapture on by default, attribution persistence), which can surprise people when they upgrade.

The numbers

npm downloads, 4 weeks
15M ×3.6 in a year
GitHub stars
181
Commits, 12 months
565
npm version
2.49.4 Nov 2026
Versions, 12 months
78
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 (amplitude/Amplitude-TypeScript), npm (@amplitude/analytics-browser), 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