zenith-analytics
Privacy-first analytics — cookieless tracking, dashboard on your own domain.
The client package for Zenith, a self-hosted multi-site analytics platform. A ~1KB cookieless snippet records pageviews and custom events, and a server-side proxy mounts a password-protected analytics dashboard natively on your domain — no foreign subdomain, no CORS, no consent banner.
- Drop-in <Analytics /> component for Next.js (App & Pages Router)
- Cookieless by construction — no consent banner needed
- Domain-native dashboard: yoursite.com/analytics, password-gated
- track() for custom events — never throws, queues before load
- Secrets stay server-side; only the public site key ships to browsers
Dogfooded: Tracks every pageview on this site — and the /zenith dashboard you can't open without the password is the domain-native proxy in production.
npm install zenith-analytics

