OpenWebAnalytics is a free, open source web & product analytics project written in PHP and released under GPL-2.0. It has 2,688 GitHub stars, 488 forks and 115 open issues, and was last pushed 31 hours ago. On this registry it ranks #12 of 25 tracked projects in Web & Product Analytics, with 5 head-to-head comparisons available.

What is OpenWebAnalytics?

What it is

Open Web Analytics is an open source web analytics server written in PHP and released under the GNU GPL, version 2 or later. It ships the OWA Server together with a first party JavaScript tracking client that can be added to web pages, and it is positioned by its maintainers as an alternative to commercial analytics tools such as Google Analytics. The project lives in the PHP ecosystem and is distributed through its GitHub repository, with a WordPress integration plugin and a PHP SDK maintained alongside it for sites and applications that want tracking wired in without hand-rolling the client.

The concrete problem it solves is data ownership. Commercial analytics products collect visitor behaviour on infrastructure the site owner does not control, and the resulting data is subject to the vendor's terms, retention rules and access model. Open Web Analytics installs on the operator's own server, so the traffic data, session recordings and reports stay on hardware the operator manages. A single instance of the OWA Server can track an unlimited number of websites, which means one deployment can serve an agency or a portfolio of properties rather than one installation per site.

Key capabilities

  • Tracks visitors, pageviews, e-commerce transactions and configurable actions.
  • Tracks an unlimited number of websites from a single OWA Server instance.
  • Provides a first party JavaScript tracker client for embedding in web pages.
  • Includes a reporting dashboard and portal where all reports can be viewed and customized.
  • Generates heatmaps and "Domstream" session recordings.
  • Performs geolocation of visitors.
  • Exposes a REST API for administration and data access, with a multi-user reporting interface and an extensible framework for custom modules.

Who uses it and how

  • Site owners who want analytics data to remain on their own infrastructure instead of a commercial vendor's.
  • WordPress operators, who add tracking through the OWA integration plugin rather than editing templates directly.
  • PHP application developers, who integrate tracking through the OWA PHP SDK.
  • Agencies or multi-site operators, who run one OWA Server instance and track many websites from it.
  • Administrators and analysts, who use the multi-user reporting interface and REST API to distribute access and pull data programmatically.

Getting started

The README points to a technical requirements page and a step by step installation guide in the project wiki. Development builds require Composer for PHP dependencies and Node.js with npm for the JavaScript build, run as composer install followed by npm install && npm run build.

When to use it — and when not to

It fits operators who want a self-hosted replacement for commercial analytics and are willing to run the OWA Server themselves, including building the front-end assets, since vendor/ and the built public/ tree are not tracked in git and must be produced after cloning. The repository shows 115 open issues and no listed contributors, and the README warns that issue tickets without the necessary debug information are closed automatically, so support expectations should be modest. Anyone needing a managed service or a vendor-backed SLA should look elsewhere, because no hosted option is offered here.

project readme (upstream, from github) — read inline

Open Web Analytics Server

Open Web Analytics is an open source alternative to commercial web analytics tools such as Google Analytics. This software allows you to stay in control of the data you collect about the user of your websites or applications.

This repository installs the OWA Server and Javascript tracking client which can easily be added to web pages.

Features

  • Track visitors, pageviews, e-commerce transactions, and configurable actions
  • Track unlimited number of websites using a single instance of OWA Server
  • First party Javascript tracker client
  • Reporting Dashboard/Portral
  • View and customize all reports
  • Generate Heatmaps
  • Generate "Domstream" session recordings
  • Geolocation of visitors
  • REST API for administration and data access
  • Multi user reporting interface
  • Extensible framework via custom modules

Requirements and Installation

See the technical requirements before you install OWA Server. A step by step installation guide will walk you through how to install OWA.

Documentation

See the wiki for documentation about the OWA Server and the Javascript Tracker client.

Upgrading, or maintaining a third-party module, local template override, or custom theme? See UPGRADING.md for the interfaces that are deprecated but still supported, and what replaces each one.

Issues & Support

Please read the troubleshooting guide before filing any issue or bug reports. Issue tickets without the necessary debug info will be closed automatically.

Development

To contribute to OWA Server:

  1. Clone the repository.

  2. Install Composer (PHP dependencies) and Node.js/npm (JavaScript build).

  3. Install dependencies and build the front-end assets:

    composer install
    npm install && npm run build
    

    vendor/ and the built public/ asset tree (including the JS tracker) are not tracked in git — you must build them after cloning.

See the Development and Testing wiki pages for the full build process and test suites.

Donate to this project

Open Web Analytics is free. However, we ask that you donate to the project if you need support. Your donation helps fund the development of this project.

Donate to the project here.

Copyright and License

This project is licensed under the GNU GPL, version 2 or later.

© Peter Adams.

Frequently asked questions

Is OpenWebAnalytics free to use?

OpenWebAnalytics is open source under the GPL-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does OpenWebAnalytics do?

Powerful, customizable web analytics for your site

What is OpenWebAnalytics written in?

OpenWebAnalytics is primarily written in PHP. Its source is publicly available at https://github.com/Open-Web-Analytics/Open-Web-Analytics, and it has 2,688 GitHub stars.