Discover / GTM & Growth

Segment Analytics Next

by segmentioTypeScript

Official next generation JavaScript SDK for collecting product analytics events.

Repositorystable

Maturity: stable because 6y old, @segment/analytics-next@1.84.1 released 14d ago. Derived from release and commit history, not a rating.

Stars
473
Forks
158
Downloads / mo
Last commit
2026-07-31
License
MIT
Open issues
70

Market and trust evidence

Edition not yet matched

No exact skills.sh identity match is available for this repository. Repository adoption and freshness remain visible above; install momentum is not inferred.

Trust analysis is a screening signal, not a security warranty. Read the ranking and trust methodology.

In practice

Written by AI from this repository’s README · low confidence

Sending product analytics events to Segment from browser and server code without hand rolling the transport.

Use it when

Use it when your stack already sends events to Segment and you need the current JavaScript or Node client.

Not the right pick when

No value without Segment as the destination, and the root README carries no usage or install instructions.

Capabilities

  • analytics.js SDK for web browsers
  • analytics SDK for Node.js
  • TypeScript typings across both packages
  • maintained as a Segment flagship library

Cost: Cost not stated

Video walkthroughs

Third-party YouTube uploads matched to this tool by title, channel and repository name on 2026-08-03. Not made, reviewed or endorsed by SkillPilot. View counts and publish months are as of the match date and the month is approximate. Nothing loads from YouTube until you press play.

What the repository ships

CI configured

Detected from the actual files in the repository root.

Latest release @segment/analytics-next@1.84.1

Published 2026-07-20

Patch Changes

  • #1368 3c92e372 Thanks @samjoffe! - Bump js-cookie from 3.0.1 to 3.0.7 to fix CVE-2026-46625 (cookie-attribute injection via prototype hijack)

Tags

README

🎉 Flagship 🎉

This library is one of Segment’s most popular Flagship libraries. It is actively maintained by Segment, benefitting from new feature releases and ongoing support.

<div style="display:flex;margin-bottom:5px">

<span style="margin: 0 5px 5px">

<a href="https://github.com/segmentio/analytics-next/actions/workflows/ci.yml">

<img src="https://github.com/segmentio/analytics-next/actions/workflows/ci.yml/badge.svg?branch=master">

</a>

</span>

<span style="margin:0 5px 5px">

<a href="http://www.typescriptlang.org/">

<img src="https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg">

</span>

</div>

<br />

<p align="center">

<a href="https://segment.com">

<img src="img/twilio-segment-logo-2x.png" width="300">

</a>

<br />

<caption>Welcome to the monorepo for Segment's latest Javascript / Typescript SDKs</caption>

</p>

analytics.js (analytics-next)

Packages

  • @segment/analytics-next: Analytics.js SDK for web browsers
  • @segment/analytics-node: Analytics.js SDK for Node.js

Contributing

  • Contribution guidelines: CONTRIBUTING.md
  • Development instructions: DEVELOPMENT.md
  • Releasing (to npm): RELEASING.md

Related tools