Back to directory

Data & Analytics · Web & Product Analytics

OpenWebAnalytics

Self-hosted analytics that keeps website data on your infrastructure

Open Web Analytics is a free, open-source analytics server and JavaScript tracker for website and application owners who want direct control over collected data. It is licensed under GPL-2.0-or-later, with the tracker carrying a BSD-style license. No managed hosted version is documented, so operators provide the server, database, maintenance, and backups.

Key facts

License
GPL-2.0-or-later
Main language
PHP, JavaScript
Maintainer
Open-source contributor community
First released
2006
Latest release
1.14.0, September 21, 2026
GitHub stars
2,693, October 2026
Hosted option
None

What OpenWebAnalytics is

Open Web Analytics is a self-hosted analytics server and JavaScript tracking client for websites and applications. Peter Adams authored the February 2006 beta announcement, and the repository carries his copyright notice. Current work comes from an open-source contributor community, with padams listed as the leading contributor at 210 contributions. The repository records 2,693 stars, 487 forks, and 114 open issues. OWA positions itself as an alternative to commercial tools such as Google Analytics. Its earliest documented release-related milestone is a February 2006 beta announcement, while the GitHub repository was created in 2012. The project asks users who need support to donate. No company backing, venture funding, or formal commercial sponsor is identified.

How it works

OWA combines a first-party JavaScript tracker, reporting server, and database-backed dashboard. A typical installation begins with database creation, release-package extraction, and the browser installer. The owner then adds the tracker to a website, installs the WordPress integration plugin, or connects a PHP application through the PHP SDK. Tracking covers visitors, pageviews, e-commerce transactions, configurable actions, campaigns, geolocation, heatmaps, and Domstream session recordings. Users review and customize reports through the dashboard, while the REST API handles administration and data access. A multi-user reporting interface supports shared use. The README says one OWA instance can track an unlimited number of websites, although each deployment still requires its own capacity planning, access controls, retention policy, and operational maintenance.

Architecture and recent releases

The server is primarily a PHP application with a JavaScript tracking client, HTML and CSS assets, and a database using the owa_ table prefix. Source installation requires Composer and Node.js/npm to install dependencies and build front-end assets. The deployment model is a web-accessible PHP application with one cron entry for scheduled work. Recent releases organize data around Organizations, Properties, and Observation Profiles. Release 1.13.0 added configurable reports, custom reports, organizations, properties, observation profiles, goal events, and instance information. Release 1.14.0 added visitor-acquisition reporting, shareable custom reports, configurable tracker cookie lifetimes, NULL storage for absent values, feed-event storage, and fixes for MaxMind geolocation encoding and a web-service failure. The release page gives no year for these dates.

License and pricing

OWA's core project license is GPL-2.0-or-later, while the project license page says the JavaScript tracker uses a BSD-style license. GPL commercial use is permitted under its copyleft requirements, including obligations that can apply when covered software is distributed. The project documents do not describe a separate SaaS restriction or open-core split. OWA itself is free, and the README asks users who need support to donate. No paid enterprise tier, managed plan, billing interval, or usage limit is documented. Operators therefore pay separately for hosting, databases, administration, upgrades, monitoring, and backups. The installation requires a web-accessible PHP deployment, database connection, writable locations, and build tooling when source installation is chosen.

Limitations and how it compares

OWA's main cost is operational responsibility. Operators must configure the database and web server, select the installation timezone carefully, schedule maintenance, apply migrations, manage permissions, and protect backups. Google Analytics is the named commercial alternative in OWA's documentation. Matomo offers a broader established analytics platform, while Plausible Analytics focuses on a smaller privacy-oriented product and also offers hosted service. Those products differ in features and licensing, so the comparison is about deployment choices rather than feature parity. OWA suits teams that want a free GPL analytics server, first-party tracking, custom reports, and control of stored data, and that accept maintaining a PHP application instead of buying a managed service.

Main features

  • First-party tracking. The JavaScript tracker records website activity while being served from the operator's OWA installation.
  • Website analytics. OWA tracks visitors, pageviews, e-commerce transactions, configurable actions, campaigns, and visitor geolocation.
  • Custom reporting. Users can configure reports and share custom reports with other users through the reporting interface.
  • Session recordings. Domstream session recordings and heatmaps provide visual views of visitor activity within supported tracked websites.
  • REST administration. The REST API supports administration and data access alongside the browser-based reporting dashboard.
  • Multi-site support. The repository README says one OWA Server instance can track an unlimited number of websites.
  • Scheduled maintenance. One cron entry runs the scheduler, including partition maintenance and other registered periodic jobs.

Self-hosting OpenWebAnalytics

Install OWA from the packaged release tarball by unpacking owa_<version>_packaged.tar into a directory under the web-server document root, then opening install.php. The installer checks PHP, database support, required extensions, and writable directories before creating the owa_ tables. Source installations require Composer and Node.js/npm, followed by composer install and npm install && npm run build. OWA requires a database connection and web-accessible PHP deployment. Add one cron entry, * * * * * cd /path/to/owa && php cli.php cmd=schedule-run, because scheduled work does not run without it. Apply schema upgrades with php cli.php cmd=update. The documentation specifies no minimum CPU, memory, storage, Docker image, Helm chart, binary package, backup utility, or managed backup service. Operators must.

Strengths

  • It keeps analytics data on infrastructure controlled by the operator.
  • GPL licensing permits commercial use under copyleft conditions.
  • One instance can track an unlimited number of websites.
  • Cookie lifetimes can be shortened or changed to session cookies.

Drawbacks

  • Self-hosting requires PHP, a database, web-server configuration, and scheduled maintenance.
  • The installation timezone cannot be changed retroactively without changing historical calendar boundaries.
  • Source checkouts require Composer and Node.js builds before normal use.

What teams replace with it

Teams usually evaluate OpenWebAnalytics when they want to move off Google Analytics.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to OpenWebAnalytics

Frequently asked questions

Is Open Web Analytics free?

Yes. OWA describes itself as free and open source, and the README asks users who need support to donate. No paid plan, usage limit, enterprise tier, or hosted billing interval is documented. Free software does not remove infrastructure costs, so operators still provide the web server, database, storage, maintenance, upgrades, monitoring, and backups required by a self-hosted installation.

Can businesses use Open Web Analytics commercially?

OWA uses the GNU GPL, version 2 or later, for its core project, while the project license page describes the JavaScript tracker as BSD-style licensed. Commercial use is allowed under the GPL's copyleft conditions. Businesses should review obligations for distribution, modifications, and bundled components before deployment. The project does not document an open-core split or separate SaaS restriction.

How do you self-host Open Web Analytics?

Create a database, download the packaged release tarball, unpack it under a web-server document root, and run install.php. The installer checks PHP, database support, extensions, and writable directories. Source builds require Composer and Node.js/npm. After installation, add the documented one-minute cron entry for scheduled jobs and use php cli.php cmd=update when applying schema upgrades.

How does OWA compare with Google Analytics?

OWA is a self-hosted GPL web analytics server and first-party tracker, while Google Analytics is identified by OWA as a commercial alternative. OWA places deployment and database control with the operator and documents no managed hosted plan. Its tradeoff is administrative work: the operator handles infrastructure, upgrades, access, retention, backups, and availability instead of receiving a managed service.

Does Open Web Analytics keep analytics data private?

OWA lets an operator run the analytics server and database on infrastructure under that operator's control. Its tracker supports configurable visitor, campaign, and session cookie lifetimes, including session cookies. Privacy still depends on deployment security, access controls, retention settings, consent practices, backups, and integrations. The project does not claim compliance certifications or define a complete security program.

Similar projects to compare

Sources

Last updated 2026-10-22.