Stars
Forks
Watchers
Developer links
Medama
Track website traffic and conversion funnels with sub-second precision while guaranteeing visitors total anonymity with Medama, a privacy-first web analytics platform operating without cookies, IP storage, or consent banners. Site owners embed a sub-kilobyte tracking script into web headers to record page views, session duration, referrers, screen resolutions, browser user agents, and geographic countries anonymously. Built-in caching header mechanisms determine unique daily visitors without generating persistent hashes or storing cross-site identifiers that violate privacy regulations. The web dashboard visualizes hourly traffic trends with interactive area charts and provides multi-dimensional data tables breaking down top-performing pages, search engine referrers, operating systems, and campaign UTM parameters. Developers can instrument custom click events and page attributes using simple HTML data attributes to measure conversions, document downloads, button interactions, and user subscription states. Administrators manage multiple websites from a single interface, configure curated anti-spam blocklists using Firehol and Tor exit node feeds, and monitor server CPU, memory, and disk usage in real time. Full OpenAPI specification endpoints allow teams to export analytics data directly into internal business intelligence pipelines and custom executive dashboards. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.
Benefits
- Cookie-Free Privacy Compliance
- Captures accurate visitor metrics without setting browser cookies, storing IP addresses, or generating invasive device fingerprints, eliminating the legal requirement for disruptive GDPR and PECR consent banners.
- Sub-Kilobyte Tracking Script
- Loads an ultralight client-side script weighing under one kilobyte that executes asynchronously, preserving lightning-fast core web vitals, page load speeds, and mobile rendering performance.
- Embedded Analytical Database Engine
- Processes millions of traffic events locally using embedded DuckDB and SQLite databases within a single Go binary, eliminating external database dependencies and heavy memory requirements.
- Custom HTML Event Attributes
- Tracks custom click interactions, file downloads, and user state properties directly through declarative HTML attributes without writing complex JavaScript event listeners or custom tracking code.
Features
- Cache-Based Unique Visitor Detection
- Employs standard HTTP Last-Modified and If-Modified-Since caching headers to differentiate unique daily visitors without storing persistent identifiers or hashed IPs.
- Declarative Custom Property Tracking
- Enables click and page view metadata capture by attaching data-m load and click attributes directly to DOM elements for conversion analysis.
- Automated Traffic Spam Filtering
- Blocks referral spam, automated bot traffic, and malicious actors using integrated Firehol Level 1 IP blocklists and Tor exit node filters.
- Multi-Website Unified Dashboard
- Monitors visitor volumes, bounce rates, visit durations, and UTM marketing campaign parameters across unlimited web properties from a single interface.
- OpenAPI Headless Architecture
- Exposes complete REST endpoints documented with OpenAPI specifications to extract time-series analytics and query metrics into external monitoring tools.