DavidWells/analytics
Lightweight analytics abstraction layer for tracking page views, custom events, & identifying visitors observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 89
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2871
- days_rel: n/a
- days_push: 67
- n_releases_24m: 0
Adoption not part of the score
2662 stars · 266 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight, isomorphic JavaScript analytics abstraction library for tracking page views, custom events, and identifying visitors. It uses a pluggable architecture to route tracking calls to any third-party analytics provider or your own backend, avoiding vendor lock-in.
Use cases
- track page views and custom events in a web app
- swap analytics providers without rewriting tracking code
- send analytics to my own backend endpoint
- add gdpr-compliant opt-out tracking to a site
- unify google analytics, mixpanel, and segment behind one api
- track events in both browser and node.js
- build a custom analytics plugin for a javascript app
When to choose
- you want a vendor-agnostic analytics layer with a plugin system
- you need isomorphic tracking that works in browser and server
- you value small bundle size (~13kb) and offline queuing
- you need lifecycle hooks to customize or cancel tracking calls
When to avoid
- you need server-side data warehousing or multi-language SDKs like full Segment
- you want a hosted analytics dashboard out of the box
- you need non-JavaScript ecosystems
Facets
library · maturity active
analytics middleware plugin-system sdk analytics web-development frontend developer-tools privacy browser cross-platform event-tracking page-views telemetry gdpr-compliant isomorphic segment-alternative lifecycle-hooks offline-support nodejs javascript
7 sources
- readme: https://github.com/DavidWells/analytics · fetched 2026-08-28 · 05972c9a7df7
- homepage: https://getanalytics.io · fetched 2026-08-29 · f9a737f76760
- site_page: https://getanalytics.io/tutorials/getting-started · fetched 2026-08-29 · 90b55df8bb49
- registry_npm: https://registry.npmjs.org/analytics · fetched 2026-08-29 · c3c4f0ce7268
- site_page: https://getanalytics.io/resources/faq · fetched 2026-08-29 · 88b584fbdd96
- site_page: https://getanalytics.io/api · fetched 2026-08-29 · d26ae9802cbc
- site_page: https://getanalytics.io/lifecycle · fetched 2026-08-29 · 4c0688f255eb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| DavidWells/analytics | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="DavidWells/analytics")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem