Dashboard Overview
A seven-tab analytics dashboard added directly to Sanity Studio — all data loaded in a single API call with 16 parallel GA4 queries.
16 parallel queries
All reports run simultaneously via Promise.allSettled() for a fast single load.
5-min cache
Response cached publicly for 5 minutes — instant tab switching after first load.
4 date ranges
Switch between last 7, 14, 30, or 90 days to analyse any time window.
Seven Dashboard Tabs
Key performance indicators at a glance — 10 KPIs including users, sessions, pageviews, bounce rate, engagement rate, and avg. session duration. Includes daily time-series area chart, hourly bar chart, and a real-time active-user badge.
Channel grouping donut chart, daily sessions trend over your selected range, top-10 traffic sources table, and the top referrer URLs driving external traffic.
Ranked table of top 15 pages by screen page views and top 10 landing pages by sessions — showing which content gets the most eyeballs and which pages bring users in.
Device category split (desktop / mobile / tablet), browser and OS distribution, and new vs returning visitor ratio — understand the people behind the numbers.
Top 10 countries and top 10 cities ranked by active user count — with session percentages to understand where your global audience is concentrated.
Top 15 GA4 events (automatically collected and custom), each with event count and unique user count — track conversions, micro-interactions, and engagement triggers.
Traffic sources with source/medium pairs, channel grouping with engagement rates, and top referrer URLs driving qualified sessions.
Real-time users: The Overview tab includes a live badge showing active users in the last 30 minutes — fetched from the GA4 Realtime API alongside the regular reports.