# angulartics/angulartics

Analytics for AngularJS applications.

Repository: https://github.com/angulartics/angulartics
Canonical: https://ross.abutalabs.com/products/angulartics
Homepage: http://angulartics.github.io/
Language: JavaScript
License: MIT
License Family: permissive
Topics: angular, analytics, google-analytics, pageview-tracking, event-tracking
Last push: 2020-07-01T15:15:57+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4841, "days_push": 2254, "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 1919, forks 394 (observed 2026-08-28T04:05:55.079852+00:00)

## What it is
Angulartics is a vendor-agnostic analytics library for AngularJS applications that provides automatic pageview tracking across routes and declarative event tracking via HTML attributes. It supports multiple analytics providers such as Google Analytics, Mixpanel, Piwik, and Segment through pluggable vendor modules.

## Use cases
- track pageviews in an AngularJS single-page app
- add event tracking to buttons and links declaratively
- switch analytics vendors without rewriting tracking code
- track virtual pageviews across Angular routes
- integrate Google Tag Manager or Piwik with AngularJS

## When to choose
- you maintain a legacy AngularJS application needing analytics
- you want vendor-agnostic tracking with swappable providers
- you prefer declarative event tracking via HTML attributes

## When to avoid
- you use modern Angular (2+) instead of AngularJS
- you need a framework-agnostic analytics solution
- you need actively maintained software with recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: analytics
- domain: web-development, frontend, analytics
- platform: browser
- tags: angularjs, pageview-tracking, event-tracking, google-analytics, vendor-agnostic, nodejs

## Member repositories
- angulartics/angulartics (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:55.079852+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-30T03:09:57.748504+00:00, confidence not recorded.
  - readme: https://github.com/angulartics/angulartics (fetched 2026-08-28T04:05:55.079852+00:00, sha f645b8e26bef)
  - homepage: http://angulartics.github.io/ (fetched 2026-08-29T10:49:34.767632+00:00, sha e18e7aba67d0)
  - registry_npm: https://registry.npmjs.org/angulartics (fetched 2026-08-29T10:49:34.776981+00:00, sha dad5f23282b5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
