Ross ROSS = Recommend OSS · open-source software intelligence for agents

segmentio/analytics.js

The hassle-free way to integrate analytics into any web application. observed · 2026-08-28

github.com/segmentio/analytics.js · homepage · JavaScript · MIT (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5189
  • days_rel: n/a
  • days_push: 1651
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4747 stars · 722 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Analytics.js is Segment's open-source JavaScript library for collecting customer event data in web applications and routing it to 250+ analytics and marketing tools through a single unified API. It is now superseded by Segment's Analytics Next (analytics-next) library.

Use cases

  • track user events in a web app and send them to multiple analytics tools
  • integrate Google Analytics, Mixpanel, and Amplitude with one snippet
  • collect customer data without writing per-vendor tracking code
  • instrument product analytics funnels and retention metrics
  • switch analytics vendors without changing tracking code

When to choose

  • you use Segment and need the classic analytics.js snippet for browser event collection
  • you maintain a legacy integration already built on analytics.js

When to avoid

  • you are starting a new project - use segmentio/analytics-next instead
  • you need server-side or mobile data collection
  • you want a self-hosted analytics solution without Segment

Facets

library · maturity maintenance

analytics sdk http-client analytics web-development frontend developer-tools browser segment customer-data event-tracking web-analytics deprecated-in-favor-of-analytics-next javascript nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
segmentio/analytics.jsmain10

For agents

markdown · JSON · MCP: product_card(name="segmentio/analytics.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem