# Segment Analytics for Node.js — card for AI agents

Official SDK for sending events and analytics data to Segment from Node.js backends.

Category: Logging, monitoring and analytics · npm package `@segment/analytics-node` · latest version 3.1.0 (checked 2026-11-03)
Install: `npm install @segment/analytics-node`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 40.4 (#3092 of all tools, 90 of 121 in its category)
- Used in 3 public projects set up for AI coding agents (0.0%)
- Downloads last week: 4,298,278 (as of 2026-11-24), +52.8% over 4 weeks
- GitHub stars: 480 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
dotenv 80.0%, Axios 60.0%, Vitest 60.0%, Prettier 60.0%, Langfuse OpenTelemetry 40.0%, @langfuse/tracing 40.0%

## Checked alternatives (same job)
- Sentry Node SDK: https://agentgid.com/tools/sentry-node/agent.md
- PostHog Node.js: https://agentgid.com/tools/posthog-node/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/segment-analytics-node/
- Homepage: https://github.com/segmentio/analytics-next#readme
- Repository: https://github.com/segmentio/analytics-next

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
