RudderStack SDK
Reasonable, with limits. 5th of 9 product analytics SDKs.
RudderStack's JavaScript SDK (v3) is a well-maintained, MIT-licensed event collector for the RudderStack customer data platform. It uses Segment-style calls and sends events on to warehouses and other tools. It is a solid pick for teams already on RudderStack or leaving Segment. It is not a product analytics tool on its own, so most people who just want to count and study usage are better served by PostHog.
Best for: Data teams that want a Segment-compatible event collector that sends data to their own warehouse and many destinations.
Scores
Overall6.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
It is a solid, safe, actively maintained collector, and the right choice inside the RudderStack ecosystem or for leaving Segment. For the category's core job of counting and studying usage, PostHog offers more and is far more widely adopted. The SDK also brings a backend dependency and little independent validation.
- peers PostHog JS downloadsLast4Weeks: 101M downloads, growing much faster
- hightouch.com/blog/what-is-rudderstack: Event specs almost identical to Segment's
- github.com/rudderlabs/rudder-sdk-js/releases: Active releases
GPT-6.2 Sol: 7.5, likely 6.3 to 8.5
RudderStack is a strong pick when a new web app needs controlled event collection and delivery to a warehouse or several tools. Typed instrumentation, browser debugging, and frequent package releases support that recommendation. PostHog is the stronger default for teams that want autocapture, funnels, and retention reports in one product. Sparse independent testing of the current SDK leaves some uncertainty about its advantage for warehouse-based teams.
- rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk: Documents browser event capture and routing controls.
- npm versionsLastYear and latestVersion: The main package published 27 versions in a year and reached stable 3.36.1.
- posthog.com/docs/product-analytics: PostHog combines autocapture with funnels and retention reports.
- alium.io/research/what-engineers-want-from-product-analytics: Buyer interviews describe when teams use integrated analytics or warehouse pipelines.
Needed by many4.9
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
Many web apps need event tracking. This SDK serves the smaller group that routes events through a customer data platform to warehouses and other tools, rather than using an analytics product directly. It also ties users to a RudderStack backend.
- hightouch.com/blog/what-is-rudderstack: Built for developers and data teams, not marketers
- github description: Customer data platform SDK
GPT-6.2 Sol: 4.8, likely 3.6 to 6.0
Product event tracking is common in web apps. RudderStack fits the smaller group that wants a browser SDK connected to a warehouse or several destinations. Website audits and buyer interviews cover specific markets, so the share of all JavaScript and TypeScript developers is hard to estimate.
- usermaven.com/research/b2b-saas-tracking-stack-audit: Found product analytics on 21–37% of sampled B2B SaaS sites across company sizes.
- alium.io/research/what-engineers-want-from-product-analytics: Buyer interviews describe warehouse pipelines as one of several approaches.
- rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk: The browser SDK requires a RudderStack source and data plane.
Helps a lot7.2
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
v3 is a TypeScript rewrite with plugins, consent handling, buffering of calls made before load, server-side cookies for Safari's tracking limits (ITP), and a small bundle. It does its collection job well. It has no analysis UI of its own and depends on the RudderStack backend. PostHog covers more of the category's job in one tool.
- rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/index.md: Features, about 25KB size, plugins, TypeScript
- rudderstack.com/blog/feature-launch-javascript-sdk-v3-delivers-better-performance-and-more-control: v3 launch: performance and cookieless tracking
- npm hasTypes: Ships types
GPT-6.2 Sol: 7.8, likely 6.6 to 8.8
Version 3.36.1 provides typed event capture, consent controls, configurable storage, and live browser debugging. The quickstart and official agent guides make basic instrumentation easier to write, while PostHog offers a more direct path from captured events to funnels and retention reports. Independent measurements of delivery reliability, browser performance, and agent-generated code are sparse.
- npm latestVersion and hasTypes: Stable version 3.36.1 ships TypeScript declarations.
- rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk: Documents capture APIs, buffering, storage, and consent.
- rudderstack.com/blog/debug-rudderstack-javascript-sdk-real-time: Browser debugger displays event payloads and destination status.
- github.com/rudderlabs/rudder-agent-skills: Maintainer-provided agent guides cover setup, instrumentation, and debugging.
- posthog.com/docs/product-analytics: PostHog connects captured events directly to funnels and retention reports.
Holds up over time7.8
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
A funded company maintains it actively: 440 commits and 130 tagged releases in the last year across the monorepo's packages, 27 npm versions, and the latest release this month. Recent release notes are small fixes and features with no breaking changes. The project depends on one vendor, which keeps the range from going higher.
- github commitsLastYear: 440 commits
- github.com/rudderlabs/rudder-sdk-js/releases: Steady Nov 2026 releases, no breaking changes
- github openIssues: 0 open issues, 2430 merged PRs
GPT-6.2 Sol: 8.1, likely 6.9 to 9.0
The company-backed repository recorded 440 commits in the past year, and the main npm package published 27 versions. The v3 migration changed page calls and storage behavior, and Grafana kept legacy storage settings during its staged rollout. The number of people who can publish and typical issue response times are unclear.
- github commitsLastYear, releasesLastYear, openIssues, and openPullRequests: 440 commits and 130 repository-wide releases. Issue counts give no response times.
- npm versionsLastYear and latestPublishedAt: 27 package versions in a year, with the latest on November 10.
- github.com/rudderlabs/rudder-sdk-js/releases/tag/%40rudderstack%2Fanalytics-js%403.36.1: The company’s release workflow tagged the current stable version.
- rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/breaking-changes: Version 3 changed storage settings and made page calls explicit.
- github.com/grafana/grafana/pull/114126: Grafana staged v3 behind a flag and kept legacy storage settings for mixed-version subdomains.
Used widely4.7
How many use it, and is that growing?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
It had 3.3M downloads in the last 4 weeks, against 523K a year ago, a ratio of 6.3. That is above the 4.1 median, so it is gaining ground. Many sites load it from the CDN snippet instead, so npm undercounts use. Even so, stars, social attention and dependents (only 1 recorded, likely incomplete) are far below PostHog, Mixpanel and Amplitude.
- npm downloadsLast4Weeks: 3.3M, up from 523K a year ago
- dependents: 1 repo and 1 package recorded
- github stars: 181 stars
GPT-6.2 Sol: 4.8, likely 3.1 to 6.2
Downloads rose 6.3× to 3.3 million in four weeks, beating the 4.1× baseline and Segment’s 3.3× growth while trailing PostHog’s 12.1×. RudderStack still trails both in install volume, and Ramp recorded about 1% of first-time category buyers choosing its platform. Automated installs, CDN deployments, and sparse scoped-package indexing make the number of projects choosing this SDK hard to pin down.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio, and peers: Above-baseline install growth from a smaller base than Segment or PostHog.
- dependents, github stars, bluesky, and hackerNews: One indexed repo and package, 181 stars, zero Bluesky links, and an HN match about DevBox.
- ramp.com/vendors/rudderstack: RudderStack had 3% buyer adoption and 1% of first-time buyers in Ramp’s category.
- rudderstack.com/docs/releases/gtm-template: Tag Manager provides an installation path outside npm.
Vouched for5.3
Who stands behind it being good?
Claude Opus 5.5: 4.5, likely 3.0 to 6.0
RudderStack is a known Segment alternative with commercial customers and mixed G2 and TrustRadius reviews. I found no independent benchmarks or survey data for the SDK itself. Most comparisons online are written by vendors, either RudderStack or its competitors.
- g2.com/products/rudderstack/reviews: Mixed reviews: cost-effective, but a steep setup
- trustradius.com/compare-products/rudderstack-vs-twilio-segment: Small sample of user reviews
- hackerNews/bluesky: Almost no community discussion
GPT-6.2 Sol: 6.0, likely 4.7 to 7.3
Grafana merged support for the v3 SDK, and a RudderStack case study documents ZEISS deploying the browser tracker. A team that migrated from Segment reported similar event schemas and a wider choice of integrations in Segment. The migration report is older, and public benchmarks and satisfaction data for the current SDK are scarce.
- github.com/grafana/grafana/pull/114126: Grafana merged support for v3 behind a feature flag.
- rudderstack.com/assets/zeiss-customer-case-study.pdf: Vendor-published case study documents browser SDK deployment on ZEISS sites.
- reddit.com/r/dataengineering/comments/tv1nfn/how_is_rudderstack_different_than_segment_how_do: A user reports similar event schemas and more integrations in Segment.
Safe8.4
How safe is it to depend on?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
It has no known advisories, zero runtime dependencies, an MIT licence, and an OpenSSF Scorecard of 8.3 with full marks for code review and SAST. Its weak checks are branch protection (4), CII best practices and fuzzing. As a third-party tracking script it does see user data, which needs the usual consent care.
- advisories total: 0 advisories
- scorecard score: 8.3; Branch-Protection 4
- npm dependencies: 0 dependencies
GPT-6.2 Sol: 8.2, likely 7.0 to 9.2
The MIT-licensed package declares zero npm dependencies and has no recorded OSV advisories. GitHub Actions publishes the package, and the 8.3 Scorecard shows strong review and token permissions alongside weaker branch protection and a zero fuzzing score. Some browser integrations still load unpinned scripts by default, while strict mode can skip them. The number of people with publishing access is unclear.
- npm dependencies and license, and advisories: Zero declared npm dependencies, MIT licence, and zero OSV advisories.
- scorecard: 8.3 overall, code review and token permissions 10, branch protection 4, and fuzzing 0.
- npmjs.com/~saikumarrs: npm lists GitHub Actions as the publisher for version 3.36.1.
- rudderstack.com/blog/locking-down-third-party-scripts-analytics-sdk: Documents integrity checks for supported scripts and the limits of default protection.
Good
- The calls (track, page, identify) follow the Segment spec, so moving over from Segment is mostly a config change.
- It is written in TypeScript, has zero runtime dependencies, weighs about 25KB, and loads features as plugins.
- It is very actively maintained, with frequent small releases and 440 commits in the last year.
- It has a good security record: no advisories, an OpenSSF Scorecard of 8.3, and code review on every change.
Bad
- It needs a RudderStack data plane, either their cloud or self-hosted, and has no analytics UI of its own.
- Its community footprint is small: 181 stars, almost no Hacker News or Bluesky discussion, and few dependents on record.
- Independent reviews describe the wider platform as hard to set up for teams without strong engineers.
- Moving from v1.1 to v3 has breaking changes and needs a migration guide.
The numbers
- npm downloads, 4 weeks
- 3.3M ×6.3 in a year
- GitHub stars
- 181
- Commits, 12 months
- 440
- npm version
- 3.36.1 Nov 2026
- Versions, 12 months
- 27
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 8.3 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (rudderlabs/rudder-sdk-js), npm (@rudderstack/analytics-js), 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