Skip to content
HitKeep
Select language
Select theme
GitHub
Start free in Cloud

Install HitKeep Self-Hosted Web Analytics

HitKeep is self-hosted web analytics in one Go binary with embedded DuckDB and NSQ. Choose an installation path below based on the machine you already operate. No separate PostgreSQL, Redis, ClickHouse, Kafka, or queue service is required.

If you want the same product without operating upgrades and backups, compare HitKeep Cloud instead.

Choose an installation method

Choose an installation method
Verify the first pageview from your site
Your environment Start here What you operate
Apple Silicon macOS or x86_64 Linux Homebrew One local binary and its data directory
Linux VPS, VM, bare metal, ARM64, or restricted network Linux binary One systemd service and its data directory
Docker-first host Docker Compose One container and three persistent volumes
Existing Kubernetes platform Kubernetes and Helm A StatefulSet, PVC, Service, and optional Ingress

What every production install needs

What every production install needs
  1. Set the browser-visible HITKEEP_PUBLIC_URL.
  2. Generate and persist a strong HITKEEP_JWT_SECRET.
  3. Keep the database, tenant data, archives, and backups on persistent storage.
  4. Put HTTPS in front of HitKeep and configure trusted proxies.
  5. Verify /healthz and /readyz, then complete the setup wizard.
  6. Test a backup and restore before relying on the deployment.

The Configuration Reference contains the current flags, environment variables, defaults, and sensitive-value guidance. Backups and Restore explains the complete data set and restore flow.

After installation

After installation

Open your configured public URL. The setup wizard creates the first owner and guides you through adding a site and installing the tracking snippet.

While setup is incomplete, the Dashboard shows the next action above the report. Open Setup checklist to see all steps or dismiss the checklist. On a phone, use Open navigation to reach the dashboard and site settings.

  1. If you’ve already added your site, open it in the dashboard. Go to Site settings → Tracking, select Script tag, and copy the displayed snippet. Add it once to the shared page template and keep the generated URL and attributes.
  2. Deploy the tracker, then open a published page on the configured hostname where tracking is permitted. If the verifier stays on Waiting, check that the tracker loads and review Do Not Track, consent, and exclusions. Check the path you just visited in Top pages for the same site and date.

For server-side tracking, use your integration to send a pageview from a real visit to the configured hostname. If the verifier stays on Waiting, check the ingest response and the integration’s access to the site.

To install with an active custom tracking domain, open Advanced options and select it under Tracker host before copying the script tag.

In Tracking, the Live tracking verifier checks automatically for up to two minutes. Use Refresh for another check, including after the automatic checks end or if the status is unavailable. Last hit shows the timestamp of the latest accepted hit for the selected site.

Pageviews and built-in automatic events work with the default snippet. To record named clicks or form submissions with HTML attributes, follow the declarative event setup. It requires the HitKeep 2.18.0 tracker or later and explicit opt-in.

Once the verifier sees a hit, open Live visitors on the site dashboard. If you enable read-only MCP, an authorized assistant can check the same site’s current count and compare totals by page after rollout.

Next: