Simple analytics for your side projects
One dashboard for everything you ship. Drop a script tag into plain HTML, Vite, React or Next.js and see who visits, where they came from and what they click. No cookies, no consent banner, and the data stays in your own database.
<script defer src="https://analytics.ayazmirza.tech/script.js" data-site="YOUR_SITE_ID"></script>Everything you need, nothing you’ll ignore
The numbers you actually check after a launch, on one fast page. Built for people with more projects than time.
One line to install
A ~1 KB script tag. No SDK, no build step, no config. If it renders HTML, it works.
Cookieless by design
Visitors are counted with a hash that rotates daily. No cookies, no stored IPs, no consent banner.
Understands SPAs
Client-side navigation in React Router, Next.js, Vue Router and SvelteKit is counted automatically.
Custom events
Track signups, clicks and downloads with sidealytics.track(), then break them down by property.
Click to filter
Click any page, referrer, country or device and the whole dashboard slices by it.
Every project, one place
All your side projects side by side, each with its own sparkline and live visitor count.
Public share links
Building in public? Make any project’s stats viewable by anyone with one checkbox.
Your data, your database
Runs on Vercel with any Postgres, or on a $5 VPS with the built-in database. No third party sees your traffic.
Live in under a minute
Create a project in the dashboard to get its site ID, then add one line. Client-side route changes are picked up on their own.
<script defer src="https://analytics.ayazmirza.tech/script.js" data-site="YOUR_SITE_ID"></script><button onclick="sidealytics.track('Signup', { plan: 'pro' })">
Sign up
</button>Private by default
sidealytics never sets a cookie or stores an IP address, so you don’t need a consent banner and your visitors aren’t tracked across the web.
- No cookies, localStorage IDs or fingerprinting
- A visitor can’t be linked across days
- Bots, crawlers and headless browsers are ignored
- Domain allowlists stop others from spamming your stats
visitor = sha256( daily_salt + site_id + ip + user_agent )
The salt changes every 24 hours and the raw IP is thrown away, so the hash can’t be reversed or joined with yesterday’s. A session ends after 30 minutes of inactivity.
Host it yourself, anywhere
One Next.js app. Bring a Postgres database, or skip it and use the built-in one.
Vercel + Postgres
Serverless, scales to zero. Works with Neon, Supabase or any Postgres.
- Import the repo and set the root directory to
apps/dashboard - Set
DASHBOARD_PASSWORD,AUTH_SECRETandDATABASE_URL - Deploy. Tables are created on the first request
Docker / VPS
One container with an embedded Postgres (PGlite) and a data volume.
docker compose up -dPut it behind Caddy or Cloudflare for HTTPS and geo headers.