{"repo":"heysagnik/diy-analytics","free":true,"listed":false,"github":"https://github.com/heysagnik/diy-analytics","clone":"git clone https://github.com/heysagnik/diy-analytics.git","description":"Set up your analytics server before your coffee gets cold.","language":"TypeScript","stars":27,"topics":["analytics","dashboard","diy","mongodb","nextjs","open-source","tailwindcss","web","web-analytics","2025"],"license":"MIT","category":"analytics","readme_excerpt":"Self-hosted, privacy-friendly website analytics. Status: alpha. The core dashboard is functional, but expect breaking changes before 1.0.0 . See CHANGELOG.md. You run diy-analytics yourself (Vercel + Postgres), point a tracking snippet at it, and get a dashboard with the traffic metrics, funnels, error tracking, and session-level tools described below — no third-party processor ever sees your visitors' data. Features - No cookies, no personal data collected — GDPR/CCPA-friendly by design. - Tracking script under 2 KB, loaded asynchronously. - Traffic, pages, sources, campaigns, countries, devices, and browsers, with click-to-filter breakdowns. - Live visitor count and historical views with per-project timezone support. - Goals, multi-step funnels, retention cohorts, ad-hoc session exploration, and page-to-page journey diagrams. - Automatic error tracking with release tagging and on-demand source map resolution. - Auto-computed recency/frequency visitor segments. - Threshold-based alerts delivered via webhook. - Optional public, read-only dashboards via a shareable link. - Track a project from multiple domains (e.g. a .vercel.app preview alongside a custom domain). - Workspaces with role-based member access. - A built-in MCP server so AI assistants can query your analytics directly. - An in-app AI chat assistant (bring your own API key — Anthropic, OpenAI, Gemini, Groq, OpenRouter, or NVIDIA NIM) that answers questions about your data using the same read-only tools as the MCP ","default_branch":null,"files":null,"tree":[],"storefront":"/r/heysagnik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heysagnik/diy-analytics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}