Open Source · Self-Hosted · Privacy-First

Hanzo Insights

Product analytics that respects your users. Event tracking, session replay, feature flags, A/B testing, and surveys — all in one platform.

45+ built-in products. Fully self-hostable. GDPR-compliant by default. No usage limits. No third-party data sharing. Built by Hanzo AI (Techstars '17).

45+
Products
100%
Open Source
Self-Hosted
Your Infrastructure
GDPR
Ready

Core Products

Six flagship products covering every dimension of product analytics

All Products

45 built-in products — no feature flags or paid tiers. Every product ships with every self-hosted instance.

Analytics Platform
Product Analytics
Customer Analytics
Web Analytics
Events API
Dashboards
Live Debugger
Session Replay
Desktop Recordings
Session Summaries
Feature Flags
Early Access Features
Experiments
Persons
Groups
Cohorts
Revenue Analytics
Growth
Funnels
Data Warehouse
Data Modeling
Surveys
Conversations
Product Tours
User Interviews
LLM Analytics
AI Insights
Error Tracking
Signals
Batch Exports
CDP
Links
Marketing Analytics
Endpoints
Notebooks
Logs
Slack App
Toolbar
Actions
Workflows
Managed Migrations

Why Self-Host

Keep your data on your infrastructure. No vendor lock-in, no usage caps, no surprise bills.

Privacy by Default

No third-party data sharing. IP addresses anonymized. DNT and GPC headers respected. Cookieless mode available.

Full Data Ownership

Your events live in your ClickHouse cluster. Query raw data directly with SQL. Export to BigQuery, Snowflake, or S3.

GDPR / CCPA Compliant

Built-in consent management. One-click user data deletion API. Configurable data retention per table.

No Usage Limits

Track every event, forever. No event volume caps, no seat limits, no sampling. Your infrastructure, your scale.

Custom Retention

Keep data as long as you need — or delete it on your schedule. Configurable TTL per event type and table.

Deploy Anywhere

Single server with Docker Compose or multi-region Kubernetes. Runs on any cloud or bare metal.

Tech Stack

Built on battle-tested open source components — nothing proprietary in the data path.

Backend

Django + Python

Web Server & API

The application server handling dashboards, feature flag evaluation, and REST/GraphQL APIs.

Frontend

React Frontend

Dashboard UI

Fast single-page application for analytics dashboards, session replay player, and experiment setup.

Analytics DB

ClickHouse

hanzoai/datastore

Column-oriented OLAP database for analytics queries. Aggregates billions of events in milliseconds.

App DB

PostgreSQL

hanzoai/sql

Relational store for application data: users, projects, feature flags, experiments, and surveys.

Cache

Valkey / Redis

hanzoai/kv

High-performance caching, session storage, Celery task queue, and real-time feature flag cache.

Streaming

Kafka

hanzoai/stream

Event streaming backbone. Decouples high-throughput ingestion from storage and processing.

Capture

Rust Capture Service

High-Throughput Ingestion

Zero-copy event capture service written in Rust. Handles millions of events per second with minimal latency.

Workers

Celery Workers

Background Processing

Async task processing for exports, cohort computation, experiment significance, and notifications.

Plugins

Node.js Plugin Server

Event Pipeline

Extensible plugin system for event transformations, enrichment, and third-party integrations.

Quick Deploy

One command to start. Docker Compose for development and single-server production. Kubernetes for scale.

Docker Compose — Quick Start
git clone https://github.com/hanzoai/insights
cd insights
cp .env.example .env
docker compose up -d

# Open http://localhost:8000
compose.yml — Core Services
services:
  insights:
    image: ghcr.io/hanzoai/insights:latest
    environment:
      DATABASE_URL: postgresql://...
      CLICKHOUSE_HOST: datastore
      REDIS_URL: redis://kv:6379
  datastore:
    image: hanzoai/datastore:latest
  sql:
    image: hanzoai/sql:latest
  kv:
    image: hanzoai/kv:latest
  stream:
    image: hanzoai/stream:latest
JavaScript SDK — Track Events
npm install hanzo-insights-js

import Insights from 'hanzo-insights-js'

Insights.init('YOUR_API_KEY', {
  api_host: 'https://insights.hanzo.ai',
})

// Track pageview
Insights.capture('$pageview')

// Track custom event
Insights.capture('button_clicked', {
  button_name: 'signup',
  page: '/pricing',
})
Kubernetes — Universe Manifests
# Deploy full stack to Kubernetes
kubectl apply -k \
  github.com/hanzoai/universe/infra/k8s/insights

# Services deployed:
# - insights-web (port 8000)
# - insights-capture (port 3000)
# - insights-worker
# - datastore (ClickHouse)
# - sql (PostgreSQL)
# - kv (Valkey)
# - stream (Kafka)

SDK Support

JavaScript — Browser + Node.js
Python — pip install hanzo-insights
Go — github.com/hanzoai/insights-go
REST API — Any language
iOS / Android — Mobile SDKs
React Native — Cross-platform
Flutter — Dart SDK
Ruby / PHP / Java — Community SDKs

Pricing

Start free with self-hosting, or let Hanzo manage it for you.

Open Source

Freeself-hosted

Full feature set on your own infrastructure. Community support.

  • All 45+ products
  • Unlimited events
  • Full data ownership
  • GDPR-compliant
  • Community support
  • Docker & Kubernetes
Deploy Now

Cloud Starter

$25/ month

Managed cloud hosting. We handle infrastructure and updates.

  • 1M events / month
  • All 45+ products
  • 1 year data retention
  • 3 projects
  • Email support
  • Automatic updates
Start Free Trial
Most Popular

Cloud Growth

$149/ month

For growing teams with high event volumes and compliance needs.

  • 10M events / month
  • All 45+ products
  • 3 years data retention
  • Unlimited projects
  • SSO / SAML
  • Priority support
Get Started

Enterprise

Customcontact us

Dedicated cluster, unlimited events, compliance, and SLA.

  • Unlimited events
  • Dedicated infrastructure
  • Unlimited retention
  • Custom SLA
  • HIPAA / SOC2 ready
  • Dedicated support
Contact Sales
All plans include every product — no feature gating. Cloud plans include automatic updates, backups, and monitoring.Questions? Talk to us →

Start building with Hanzo Insights

45+ products. Fully self-hosted. No usage limits. GDPR-compliant by default.

Open Dashboard