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).
Core Products
Six flagship products covering every dimension of product analytics
Product Analytics
Funnels, retention curves, user paths, and cohort analysis. Understand where users drop off and why.
Session Replay
Watch real user sessions with automatic privacy masking. Understand rage clicks, confusion, and delight.
Feature Flags
Ship with confidence. Percentage rollouts, user targeting, instant rollbacks. No deploys needed.
A/B Testing
Statistically sound experiments at any scale. Multi-variant tests with automatic significance detection.
Surveys
In-app NPS, CSAT, and custom user research. Trigger surveys on events, page views, or feature usage.
LLM Analytics
Track AI model performance, prompts, completions, latency, and cost. Purpose-built for AI products.
All Products
45 built-in products — no feature flags or paid tiers. Every product ships with every self-hosted instance.
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.
Django + Python
Web Server & API
The application server handling dashboards, feature flag evaluation, and REST/GraphQL APIs.
React Frontend
Dashboard UI
Fast single-page application for analytics dashboards, session replay player, and experiment setup.
ClickHouse
hanzoai/datastore
Column-oriented OLAP database for analytics queries. Aggregates billions of events in milliseconds.
PostgreSQL
hanzoai/sql
Relational store for application data: users, projects, feature flags, experiments, and surveys.
Valkey / Redis
hanzoai/kv
High-performance caching, session storage, Celery task queue, and real-time feature flag cache.
Kafka
hanzoai/stream
Event streaming backbone. Decouples high-throughput ingestion from storage and processing.
Rust Capture Service
High-Throughput Ingestion
Zero-copy event capture service written in Rust. Handles millions of events per second with minimal latency.
Celery Workers
Background Processing
Async task processing for exports, cohort computation, experiment significance, and notifications.
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.
git clone https://github.com/hanzoai/insights
cd insights
cp .env.example .env
docker compose up -d
# Open http://localhost:8000services:
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:latestnpm 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',
})# 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
Pricing
Start free with self-hosting, or let Hanzo manage it for you.
Open Source
Full feature set on your own infrastructure. Community support.
- All 45+ products
- Unlimited events
- Full data ownership
- GDPR-compliant
- Community support
- Docker & Kubernetes
Cloud Starter
Managed cloud hosting. We handle infrastructure and updates.
- 1M events / month
- All 45+ products
- 1 year data retention
- 3 projects
- Email support
- Automatic updates
Cloud Growth
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
Enterprise
Dedicated cluster, unlimited events, compliance, and SLA.
- Unlimited events
- Dedicated infrastructure
- Unlimited retention
- Custom SLA
- HIPAA / SOC2 ready
- Dedicated support
Hanzo Ecosystem
Insights is part of the broader Hanzo AI observability and developer platform.
Hanzo Analytics
Lightweight privacy-first web analytics. Script-based page tracking without cookies.
View AnalyticsHanzo Chat
AI-powered chat with 14 Zen models plus 100+ third-party models and MCP tools.
Open ChatHanzo Console
LLM observability, API key management, and usage analytics for AI applications.
Open ConsoleHanzo Flow
Visual workflow builder for AI pipelines. Connect models, tools, and data sources.
Try FlowStart building with Hanzo Insights
45+ products. Fully self-hosted. No usage limits. GDPR-compliant by default.