Self-hosted · cookieless · ~1 KB script

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>
my-side-project.devsample data
Visitors
3.5k
↑38%
Page views
11.9k
↑41%
Bounce rate
39%
↓4%
Visit duration
3m 12s
0%
0100200300400Oct 23Oct 28Nov 2Nov 7Nov 12Nov 17
ReferrersVisitors
news.ycombinator.com1,284
google.com903
x.com512
github.com377
reddit.com241
Works withHTMLViteReactNext.jsVueSvelteAstroSolidHugo…and anything else that serves HTML.

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.

VisitorsPage viewsBounce rateVisit durationLive visitorsTop pagesReferrersUTM campaignsCountriesDevicesBrowsersOperating systemsCustom events

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.

Paste this into the <head> of every page
<script defer src="https://analytics.ayazmirza.tech/script.js" data-site="YOUR_SITE_ID"></script>
Track custom events (optional)
<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
How a visitor is counted
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.

  1. Import the repo and set the root directory to apps/dashboard
  2. Set DASHBOARD_PASSWORD, AUTH_SECRET and DATABASE_URL
  3. Deploy. Tables are created on the first request

Docker / VPS

One container with an embedded Postgres (PGlite) and a data volume.

docker compose up -d

Put it behind Caddy or Cloudflare for HTTPS and geo headers.

Ship it, then see who shows up.

Get started
sidealytics: simple analytics for your side projects