# Product analytics SDKs

Record what people do in an app or on a site, to count and study it. 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.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [PostHog JS](https://elestia.ai/opensource/analytics/posthog-js/index.md) | 8.2 | 6.8 | 8.4 | 8.1 | 7.6 | 7.3 | 6.4 | Engineering-led teams that want product analytics, session replay and feature flags from one open-source SDK and service. |
| 2 | [Amplitude SDK](https://elestia.ai/opensource/analytics/amplitude/index.md) | 7.3 | 6.0 | 7.7 | 8.2 | 5.7 | 6.7 | 7.5 | Product and growth teams that have chosen Amplitude's hosted analytics and experimentation platform. |
| 3 | [Plausible tracker](https://elestia.ai/opensource/analytics/plausible/index.md) | 7.3 | 5.9 | 6.9 | 7.7 | 5.9 | 6.8 | 7.6 | Sites and web apps that want simple, cookie-free pageview and goal analytics without a consent banner. |
| 4 | [Mixpanel SDK](https://elestia.ai/opensource/analytics/mixpanel/index.md) | 7.0 | 5.8 | 7.5 | 7.6 | 6.1 | 6.4 | 6.4 | Teams that use or plan to use Mixpanel's hosted analytics and want product managers to run self-serve funnel and retention reports. |
| 5 | [RudderStack SDK](https://elestia.ai/opensource/analytics/rudderstack/index.md) | 6.8 | 4.9 | 7.2 | 7.8 | 4.7 | 5.3 | 8.4 | Data teams that want a Segment-compatible event collector that sends data to their own warehouse and many destinations. |
| 6 | [OpenPanel](https://elestia.ai/opensource/analytics/openpanel/index.md) | 6.5 | 6.4 | 7.0 | 6.5 | 4.4 | 4.2 | 6.3 | Small teams and indie developers who want self-hostable, cookieless product analytics that is simpler and cheaper than PostHog or Mixpanel. |
| 7 | [Segment Analytics.js](https://elestia.ai/opensource/analytics/segment/index.md) | 6.5 | 5.4 | 6.9 | 6.7 | 6.2 | 6.1 | 7.3 | Teams that already pay for Segment and want one event stream routed to many downstream tools. |
| 8 | [Vercel Analytics](https://elestia.ai/opensource/analytics/vercel-analytics/index.md) | 6.2 | 4.7 | 5.8 | 6.8 | 6.9 | 5.3 | 8.1 | Teams that already host on Vercel and want simple, cookieless traffic stats with almost no setup. |
| 9 | [Analytics](https://elestia.ai/opensource/analytics/analytics/index.md) | 4.9 | 5.1 | 5.9 | 3.4 | 4.4 | 3.7 | 6.2 | Small sites that want one tiny, vendor-neutral tracking API over a few analytics tools and can live with plugins that are slow to get updates. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| PostHog JS | 101M | ×12 | 649 | 2.9k | Nov 2026 | 1 |
| Amplitude SDK | 15M | ×3.6 | 181 | 565 | Nov 2026 | 0 |
| Plausible tracker | 546k | ×18 | 30k | 639 | Oct 2026 | 0 |
| Mixpanel SDK | 15M | ×3.4 | 944 | 234 | Nov 2026 | 0 |
| RudderStack SDK | 3.3M | ×6.3 | 181 | 440 | Nov 2026 | 0 |
| OpenPanel | 1.1M | ×18 | 7.3k | 989 | Nov 2026 | 0 |
| Segment Analytics.js | 11M | ×3.3 | 480 | 44 | Nov 2026 | 0 |
| Vercel Analytics | 42M | ×9.1 | 521 | 18 | Mar 2026 | 0 |
| Analytics | 2.3M | ×2.7 | 2.7k | 15 | Aug 2025 | 0 |

All categories: https://elestia.ai/opensource/index.md
