Skip to content
Language: English (United States)

Hanzo Analytics

Traffic, sessions and revenue for the sites you run, in a dashboard you can read without training.

Hanzo Analytics Dashboardexample

Web analytics you host yourself

Users

127,543+12.4% vs last week

Conversion Rate

4.87%+0.8% vs last week

Revenue

$45,892+15.2% vs last week

Realtime

Live User Activity

Pageviews1,240876+24.5%
00:0006:0012:0018:0024:00

The reports

Each one answers a question you would otherwise export a CSV to answer.

Ask it as a question

Add the script

One tag on the page and the dashboard fills in on its own. Host it yourself or let us run it — the software is the same either way.

  1. 01
    One tag

    Paste it into the head of your site. Pageviews start arriving before you have decided what to name anything.

  2. 02
    Your data stays yours

    The events live in your own Postgres, MySQL or MariaDB. Nothing is sampled, and nothing is held back from an export.

  3. 03
    Open source, MIT

    Run it on a small server for as long as you like. The hosted version is the same code with the operations taken care of.

No credit card required.

analytics.js
import { HanzoAnalytics } from 'hanzo-analytics';
 
// Initialize analytics with your project ID
const analytics = new HanzoAnalytics('YOUR_PROJECT_ID');
 
// Track page views automatically
analytics.trackPageViews();
 
// Track custom events
analytics.track('button_click', {
  buttonId: 'signup_button',
  page: '/home'
});
npm install hanzo-analytics

From a visit
to a number

A pageview is not worth much on its own. It gets interesting once it is joined to the step someone stopped at, the campaign that sent them and the money that followed.

Read how reports work
  1. Funnels and goals

    Step 1
    Step 2
    Step 3
    Step 4
    Step 5

    The step with the cliff is the one worth a week of work.

    Where they stop

    Build the funnel from steps you already track and read the drop between them. The step with the cliff is the one worth a week of work.

    Funnels and goals

  2. Retention by the week someone arrived

    Whether they return

    Retention by the week someone arrived. Growth that comes only from new visitors looks identical to growth that lasts, until you look at this.

    Retention and journeys

  3. trafficchannelcampaign

    Revenue shows up beside the traffic that produced it.

    What it was worth

    Send the order value with the event and revenue shows up beside the traffic that produced it, split by channel and campaign.

    Revenue and attribution

Commerce Dashboard

example

Sales Performance

4.78%+0.6%

Avg. Order Value

$87.32+2.4%

Product Recommendations

  • Premium Headphones98
  • Wireless Keyboard85
  • Smart Watch79

If you sell something

Revenue is a report here, not an integration you buy on top.

  1. Revenue beside the traffic

    Send an amount and a currency with the event and it lands in the same reports as everything else. Totals, order values and the sessions behind them.

  2. Which campaign paid for itself

    Attribution splits revenue across the channels and campaigns that touched the session, so spend can be argued with numbers rather than instinct.

  3. The checkout, step by step

    Cart to payment as a funnel, with the abandonment rate per step. Add a goal for the one step you would defend in a meeting.

AI-Powered
Observability
& Monitoring

Proactively identify issues and opportunities with AI-powered insights and monitoring.

  • Real-time anomaly detectionAutomatically identify unusual patterns and potential issues before they impact your business.
  • Predictive alerts and proactive monitoringGet alerted about potential problems before they occur with AI-powered predictive monitoring.
  • Deep integration with Hanzo Cloud and BaseConnect your analytics with your entire infrastructure for comprehensive visibility.

AI Analysis in Action

Traffic Anomaly DetectionAnomaly Detected

Unusual traffic spike

Confidence: 98.7%

AI Insights

  • Traffic AnomalyUnusual spike detected at 14:32 UTC
  • Conversion OpportunityCheckout abandonment 23% higher on mobile
  • Performance AlertAPI latency increased by 150ms

AI Recommendation

Based on the traffic pattern analysis, we recommend scaling your infrastructure in the US-West region for the next 3 hours.

Enterprise-Grade Security & Compliance

Hanzo Analytics

Secure by design, ensuring your data meets stringent compliance standards.

Security Features
Security and assurance

Continual internal audits Report on request.

Data protection

EU data handling, deletion, and export on request.

Privacy by design

Collected because it is used, not because it can be.

Data Privacy Commitment

Hanzo Analytics collects what a report uses and nothing else. You choose where the data lives, how long it is kept, and who on your team can read it, and you can export or delete it on request.

Read our privacy policy →

Powered by Community, Improved by Collaboration

Join thousands of developers building the future of analytics together.

Open source, MIT

Get Analytics

Get started with Analytics

Product analytics on your data

License: Apache-2.0hanzoai