nytimes/react-tracking
🎯 Declarative tracking for React apps. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
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: 3550
- days_rel: n/a
- days_push: 1050
- n_releases_24m: 0
Adoption not part of the score
1898 stars · 131 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
react-tracking is a React library from The New York Times that provides declarative analytics tracking via a higher-order component, decorator, or React hook. It scopes tracking data to individual components and dispatches events in an analytics-platform-agnostic way.
Use cases
- add analytics event tracking to React components declaratively
- track user interactions without polluting components with analytics code
- dispatch tracking events on component mount
- collect contextual tracking data from the component hierarchy
- swap analytics backends without changing tracking code
When to choose
- you use React and want component-scoped, declarative tracking
- you want tracking decoupled from a specific analytics vendor
- you prefer decorators or hooks over imperative tracking calls scattered through your app
When to avoid
- your app is not built with React
- you need server-side or non-component-based event tracking
- the project appears to be in maintenance mode with infrequent releases
Facets
library · maturity maintenance
analytics middleware developer-tools web-development frontend analytics cross-platform react tracking higher-order-component react-hooks declarative event-tracking nodejs web-server
3 sources
- readme: https://github.com/nytimes/react-tracking · fetched 2026-08-28 · 7e51aaafa0eb
- homepage: https://open.nytimes.com/introducing-react-tracking-declarative-tracking-for-react-apps-2c76706bb79a · fetched 2026-08-29 · a8897656e9a6
- registry_npm: https://registry.npmjs.org/react-tracking · fetched 2026-08-29 · 612bda79b5dd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nytimes/react-tracking | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="nytimes/react-tracking")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem