Run Minilytics
where you want.

Minilytics needs PHP 8.0 or newer with SQLite enabled.
No Node.js runtime or database server is required.

Download minilytics.tar.gz

Install in a few steps.

Web server

For shared hosting, Apache or Nginx.

  1. Download and extract the archive in your web root.
  2. Give your web server write access to data/.
  3. Open https://your-domain.com/dashboard/.
  4. Create the administrator account, add your site and copy its tracking snippet.

Local PHP

For a quick local installation.

  1. Extract the archive in a folder of your choice.
  2. Open a terminal in that folder.
  3. Run the command below.
  4. Visit http://localhost:8080/dashboard/.
$ php -S localhost:8080

WAMP

For a local Windows setup.

  1. Confirm PHP 8.0+ and the SQLite extension are enabled in WAMP.
  2. Extract Minilytics into C:\wamp64\www\minilytics.
  3. Start Apache from the WAMP control panel.
  4. Visit http://localhost/minilytics/dashboard/.
PHP 8.0+with the sqlite3 extension enabled
Write accessfor the data/ directory
HTTPS accessfor the local geolocation database

Add your first website.

Once the dashboard is open, create your account, add a website, then paste its generated tracking snippet into your site’s <head>.

Read the documentation