react-ga/react-ga
React Google Analytics Module observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived 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: 4177
- days_rel: n/a
- days_push: 1335
- n_releases_24m: 0
Adoption not part of the score
5098 stars · 429 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A JavaScript module for adding Google Analytics (Universal Analytics) tracking to React applications. It provides a React-friendly API for initializing GA, tracking pageviews, events, and outbound links.
Use cases
- track pageviews in a React SPA
- send custom events to Google Analytics from React components
- track outbound link clicks in React apps
- initialize Google Analytics in a React project
- standardize GA instrumentation across React websites
When to choose
- your React app still uses Universal Analytics (UA- tracking IDs)
- you want a simple, opinionated wrapper around the GA library for React
When to avoid
- you need Google Analytics 4 (GA4) support - use react-ga4 instead
- you are starting a new project, since Universal Analytics is deprecated by Google
Facets
library · maturity maintenance
analytics web-development frontend analytics browser cross-platform react google-analytics universal-analytics pageview-tracking event-tracking nodejs
2 sources
- readme: https://github.com/react-ga/react-ga · fetched 2026-08-28 · dd9d1e55a3bb
- registry_npm: https://registry.npmjs.org/react-ga · fetched 2026-08-29 · 2db735c5b328
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| react-ga/react-ga | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="react-ga/react-ga")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem