Meta · Live Data
Real-time visitor analytics for this portfolio site — tracked in PostgreSQL, visualised with Chart.js. This is the exact type of dashboard built at GrowthPulse to replace 12+ hours/week of manual reporting.
A custom Django middleware (PageTrackingMiddleware)
intercepts every GET request, stores the page path, timestamp, and session key in PostgreSQL.
This page queries a /api/analytics/
JSON endpoint that aggregates the data with Django ORM annotations (TruncDate,
Count).
Chart.js renders it client-side. Refreshes every 60 seconds automatically.