# ebidel/appmetrics.js

A small (< 1kb) library for measuring things in your web app and reporting the results to Google Analytics.

Repository: https://github.com/ebidel/appmetrics.js
Canonical: https://ross.abutalabs.com/products/appmetricsjs
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: metrics, appmetrics, google-analytics, user-timing, lib
Last push: 2018-01-09T19:38:08+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3662, "days_push": 3158, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1363, forks 50 (observed 2026-08-28T04:04:30.471358+00:00)

## What it is
A tiny (<1kb gzipped) JavaScript library that wraps the User Timing API to measure durations of events in web apps. It annotates the DevTools timeline and optionally reports metrics to Google Analytics.

## Use cases
- measure how long events take in my web app
- track frontend performance metrics over time
- send user timing metrics to google analytics
- annotate chrome devtools timeline with custom marks
- instrument page load and interaction timings
- record performance measurements in webpagetest

## When to choose
- you want a minimal, dependency-free wrapper around the User Timing API
- you already use Google Analytics and want performance data there
- you need DevTools timeline integration for custom measurements

## When to avoid
- you need a full RUM or APM solution with dashboards and alerting
- you need server-side or backend performance monitoring
- you require actively maintained software with recent updates
- you use analytics platforms other than Google Analytics

## Facets
- artifact type: library
- maturity: abandoned
- function: monitoring, analytics, developer-tools
- domain: web-development, frontend, performance, analytics
- platform: browser
- tags: user-timing-api, google-analytics, performance-metrics, devtools, tiny-library, web-server

## Member repositories
- ebidel/appmetrics.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:30.471358+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:24.984310+00:00, confidence not recorded.
  - readme: https://github.com/ebidel/appmetrics.js (fetched 2026-08-28T04:04:30.471358+00:00, sha 2a2cb211ed54)
  - registry_npm: https://registry.npmjs.org/appmetrics.js (fetched 2026-08-29T11:59:09.072231+00:00, sha a6063a87c39b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
