Dashboard
The dashboard at /app lists your websites and links to statistics, realtime, and tracking setup for each site.
Website list (/app)
- Add website — opens a modal: create a Supabase project, run
schema-analytics.sqlon your project, enable Realtime onevents, then enter name, domain, your Supabase project ID, and publishable key. - Click a site card to open its statistics overview.
- If app Supabase env vars are missing, adding sites is disabled and a setup banner is shown.
Site navigation
Each site has three tabs:
| Tab | Path | Purpose |
|---|---|---|
| Statistics | /app/[siteId] | Metric bar, trend chart, breakdown grids (channels, pages, geo, device, etc.), 7/30-day selector |
| Realtime | /app/[siteId]/realtime | Full-screen 3D globe (COBE), live visitors, countries/pages/devices in the last 5 minutes |
| Tracking | /app/[siteId]/setup | Copy embed snippet with site key and Supabase credentials |
Statistics overview
- Top row: Visitors, Visits, Pageviews, Bounce rate, Visit time with period-over-period change when available.
- Trend chart: daily pageviews over the selected range.
- Four breakdown blocks in a 2×2 grid (channel/referrer, content pages, country donut, browser/device/OS).
- A floating Live pill links to the realtime view when the site is configured.
Realtime view
- Rotating globe with markers at visitor latitude/longitude (when geo is present).
- Click a marker to see path, country, and device.
- Pause/play auto-rotation; zoom with scroll on desktop.
- Overlay panels: active count, top countries, pages, devices, recent pageviews.
Realtime requires Realtime enabled on events in the site Supabase project and geo data for map placement (optional but recommended).
Theme
Use the sun/moon control in the header to toggle light/dark mode. Globe and realtime backgrounds adapt to the theme.