philipwalton/analyticsjs-boilerplate resource
Examples and best practices for using analytics.js observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- 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: 3500
- days_rel: n/a
- days_push: 3280
- n_releases_24m: 0
Adoption not part of the score
1118 stars · 55 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A boilerplate and set of examples demonstrating best practices for implementing Google's analytics.js on modern websites. It includes base, autotrack, and multiple-trackers variants covering error tracking, custom dimensions, pageview, and pageload performance events.
Use cases
- set up google analytics on a website with best practices
- track uncaught javascript errors in analytics
- track page load performance events
- use autotrack plugins with analytics.js
- implement multiple analytics trackers on one site
- learn how to configure custom dimensions in analytics.js
When to choose
- you are implementing analytics.js (Google Analytics) on a new or existing site and want a proven setup
- you want examples of error, performance, and custom-dimension tracking with analytics.js
When to avoid
- you use Google Analytics 4 (gtag.js) instead of the legacy analytics.js library
- you need a maintained, actively updated solution
- you use a non-Google analytics provider
Facets
learning-resource · maturity abandoned
analytics developer-tools boilerplate web-development analytics frontend browser google-analytics analyticsjs best-practices tracking error-tracking performance-tracking boilerplate javascript web
1 source
- readme: https://github.com/philipwalton/analyticsjs-boilerplate · fetched 2026-08-28 · 6c07a67bd1c0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| philipwalton/analyticsjs-boilerplate | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="philipwalton/analyticsjs-boilerplate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem