BreakPoint Drop
Rescued and active

analytics.js

Hassle-free way to integrate analytics into any site (archived by Segment)

#javascript#analytics#browser#segment
Abandoned:
12y ago
License:
MIT

The story

analytics.js was the canonical "drop this script tag and call analytics.track(...)" library. It was the foundation of Segment's original product (before they pivoted to a CDP and renamed everything). The repo is archived but still has 4.7k stars and a healthy npm install rate (still ~500k/week, mostly from legacy apps). It supports 100+ destinations out of the box, each loaded only when you call it. The new canonical is @segment/analytics-next, but the original is a smaller bundle and works without the Segment cloud. Worth a rescue for anyone running a static site who wants first-party analytics without a vendor lock-in.

For maintainers

Have a project of your own?

Two minutes to drop. You stay credited. Someone out there wants to take it on.

Drop a project →

For developers

Not ready to adopt this one?

Browse 3 other waiting projects on the feed. Or use the free audit to see what your own org is depending on.

Browse the feed Free audit