# Open-Web-Analytics/Open-Web-Analytics

Official repository for Open Web Analytics which is an open source alternative to commercial tools such as Google Analytics. Stay in control of the data you collect about the use of your website or app.  Please consider sponsoring this project.

Repository: https://github.com/Open-Web-Analytics/Open-Web-Analytics
Canonical: https://ross.abutalabs.com/products/open-web-analytics
Homepage: http://www.openwebanalytics.com
Language: PHP
License: GPL-2.0
License Family: copyleft
Topics: php, web-analytics, privacy, website-traffic, owa
Last push: 2026-08-26T20:12:09+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 5267, "days_push": 7, "days_rel": 12, "gap_med": 3.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2685, forks 489 (observed 2026-08-28T04:07:10.222901+00:00)

## What it is
Open Web Analytics (OWA) is an open source, self-hosted web analytics server and JavaScript tracking client, serving as an alternative to Google Analytics. It tracks visitors, pageviews, e-commerce transactions, heatmaps, and session recordings while keeping data ownership with the site operator.

## Use cases
- self-hosted alternative to Google Analytics
- track pageviews and visitors on my website
- generate heatmaps and session recordings
- track e-commerce transactions and custom actions
- geolocate website visitors
- access analytics data via a REST API
- add analytics to a WordPress site
- track multiple websites from one instance

## When to choose
- you need full data ownership and privacy compliance for web analytics
- you want a self-hosted GA alternative with heatmaps and session replay
- you run WordPress or PHP applications and want easy integration
- you need multi-site, multi-user analytics reporting

## When to avoid
- you prefer a hosted, zero-maintenance analytics service
- your stack is not PHP-based and you want a lightweight JS-only solution
- you need real-time product analytics like event funnels at scale (tools like PostHog may fit better)

## Facets
- artifact type: application
- maturity: active
- function: analytics, web-scraping, data-visualization, http-server, api-framework, sdk
- domain: analytics, web-development, privacy, self-hosted
- platform: php, self-hosted, windows
- tags: web-analytics, google-analytics-alternative, heatmaps, session-recordings, first-party-tracking, wordpress-plugin, rest-api, php, web-server, linux, macos

## Member repositories
- Open-Web-Analytics/Open-Web-Analytics (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.222901+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-30T02:17:49.281500+00:00, confidence not recorded.
  - readme: https://github.com/Open-Web-Analytics/Open-Web-Analytics (fetched 2026-08-28T04:07:10.222901+00:00, sha 65f16bc5de53)
  - homepage: http://www.openwebanalytics.com (fetched 2026-08-29T09:59:59.882141+00:00, sha 2b7b774bd4fc)
  - site_page: https://www.openwebanalytics.com/about (fetched 2026-08-29T09:59:59.884692+00:00, sha 6214b17a540e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
