Medama logo

Medama

Self-hosted, cookie-free analytics with a sub-kilobyte tracker

Medama Analytics delivers real-time, privacy-first website metrics via a <1KB tracker, requiring only a single binary and 256 MB RAM, making it easy to self-host and integrate.

Medama banner

Overview

Overview

Medama Analytics provides real‑time website metrics while keeping user privacy at the forefront. Its tracker is under 1 KB, stores no cookies or IP addresses, and complies with GDPR and similar regulations.

Capabilities & Deployment

The solution runs as a single Go binary with no external dependencies, capable of operating on a VM with as little as 256 MB of memory. An OpenAPI‑based server makes it straightforward to pull data into custom dashboards or existing monitoring tools. Because it is self‑hosted, you retain full control over data storage and retention.

Who Benefits

Ideal for developers, small‑to‑medium sites, and organizations that need analytics without third‑party data collection. It offers a lightweight, privacy‑centric alternative to traditional analytics platforms while delivering instant insights.

Highlights

Real‑time analytics with instant performance monitoring
Privacy‑focused: no cookies, IP addresses, or identifiers
OpenAPI server for easy integration into custom dashboards
Self‑hostable single binary, runs on 256 MB RAM

Pros

  • Minimal resource footprint
  • No third‑party data collection
  • Simple single‑binary deployment
  • Immediate insight through real‑time data

Considerations

  • Limited to basic website metrics; no advanced session replay
  • No built‑in UI; requires external dashboard
  • Smaller community compared to major analytics services
  • Self‑hosting and maintenance responsibilities lie with the user

Managed products teams compare with

When teams consider Medama, these hosted platforms usually appear on the same shortlist.

Mixpanel logo

Mixpanel

Self-serve product analytics for tracking user behavior, funnels, cohorts, and retention

Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.

Fit guide

Great for

  • Small to medium websites that prioritize visitor privacy
  • Developers seeking a self‑hosted analytics solution
  • Organizations under GDPR or similar regulations
  • Projects with constrained server resources

Not ideal when

  • Large enterprises needing enterprise‑scale analytics
  • Users wanting a ready‑made visual dashboard out of the box
  • Teams without capacity to manage self‑hosted services
  • Sites requiring deep funnel or cohort analysis

How teams use it

Personal blog traffic monitoring

Track page views and visitor trends without exposing personal data.

SaaS product usage metrics

Collect real‑time feature adoption stats while staying compliant with privacy laws.

Intranet activity analysis

Measure internal page engagement without relying on external services.

Compliance‑driven website monitoring

Demonstrate GDPR‑compatible analytics to regulators and users.

Tech snapshot

Go51%
TypeScript33%
CSS9%
JavaScript6%
Dockerfile1%
Shell1%

Tags

google-analyticsanalyticsmetricsself-hostedgoweb-analyticsdashboardprivacymedamaduckdbcookie-freewebsite-analytics

Frequently asked questions

What data does Medama collect?

Only anonymous interaction events; it does not store cookies, IP addresses, or personal identifiers.

How do I install Medama?

Download the single binary for your platform, run it, and point your site’s tracker script to the server URL.

Do I need a database?

Medama uses DuckDB internally, which is bundled with the binary; no external database setup is required.

Can Medama replace Google Analytics?

It provides core page‑view and event metrics, but lacks some advanced features like session replay and extensive e‑commerce reporting.

Is Medama GDPR compliant?

Yes, because it does not collect personal identifiers and gives you full control over data storage.

Project at a glance

Active
Stars
588
Watchers
588
Forks
10
Repo age2 years old
Last commit3 days ago
Self-hostingSupported
Primary languageGo

Last synced 2 days ago