# Amplitude SDK: 7.3 out of 10

A strong pick. 2nd of 9 in [Product analytics SDKs](https://elestia.ai/opensource/analytics/index.md).

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.

## Scores

- **Overall: 7.3** (likely 6.3 to 8.2)
  - Claude Opus 5.5 (6.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): 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 many: 6.0** (likely 4.9 to 7.1)
  - Claude Opus 5.5 (6.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): 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 lot: 7.7** (likely 6.6 to 8.6)
  - Claude Opus 5.5 (7.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): 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 time: 8.2** (likely 7.1 to 9.1)
  - Claude Opus 5.5 (8.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.
  - GPT-6.2 Sol (8.3): 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 widely: 5.7** (likely 4.4 to 6.9)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (5.3): 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 for: 6.7** (likely 5.0 to 7.8)
  - Claude Opus 5.5 (6.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): 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.
- **Safe: 7.5** (likely 6.4 to 8.5)
  - Claude Opus 5.5 (7.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): 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

- Downloads, 4 weeks: 15M
- In a year: ×3.6
- GitHub stars: 181
- Commits, 12 months: 565
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/amplitude/Amplitude-TypeScript
- npm: https://www.npmjs.com/package/@amplitude/analytics-browser

The SDK of an analytics service that is not open source.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
