Features
The dashboard offers two main analytics views:Web Analytics
Real-time visitor tracking, page views, traffic sources, and audience insights
Speed Insights
Core Web Vitals monitoring including TTFB, FCP, LCP, CLS, and INP metrics
Analytics Tab
The Analytics tab displays comprehensive website traffic data:- Real-time Visitors: Live count of current visitors on your website
- Visitors & Pageviews: Time-series charts showing traffic trends
- Top Pages: Most visited pages with engagement metrics
- Top Locations: Geographic distribution of your audience
- Top Sources: Traffic sources and referrers
- Top Devices: Device type breakdown (desktop, mobile, tablet)
- Top Browsers: Browser usage statistics
Speed Insights Tab
Monitor Core Web Vitals across different percentiles (P75, P90, P95, P99):AI-Powered Insights
The dashboard includes an AI chat interface powered by the Ask Tinybird endpoint:Ask AI
Query your analytics data using natural language. The AI assistant can generate SQL queries, create visualizations, and provide actionable insights.
AI Features
- Natural Language Queries: Ask questions about your data in plain English
- Preloaded Insight Cards: Quick access to common metrics and trends
- SQL Generation: Automatically generates and executes SQL queries
- Interactive Visualizations: Charts and tables rendered directly in the chat
- Context-Aware Responses: Understands your workspace and data schema
Technology Stack
The dashboard is built with modern web technologies:Key Technologies
- Next.js 14: React framework with App Router
- React 18: UI component library
- Vercel: Deployment platform
- Tailwind CSS: Utility-first styling
- SWR: Data fetching and caching
- Recharts: Charting library
- Tinybird SDK: API client for data queries
- Vercel AI SDK: AI chat functionality
User Interface
The dashboard features a clean, modern interface with:- Responsive Design: Optimized for desktop and mobile devices
- Dark Mode Support: Theme variables for consistent styling
- Interactive Charts: Hover tooltips and time range selection
- Real-time Updates: Live data refresh using SWR
- Accessible Components: Built with Radix UI primitives
The dashboard uses custom CSS variables for theming, making it easy to customize colors and typography to match your brand.
Time Range Selection
Filter data across multiple time ranges:- Today
- Yesterday
- Last 7 days
- Last 30 days
- Last 3 months
- Last 12 months
- Custom date ranges
Domain Filtering
If you track multiple websites, use the domain selector to filter analytics for specific domains.Next Steps
Deploy to Vercel
Learn how to deploy your dashboard to production
Authentication Setup
Configure authentication and security settings
Customize Your Dashboard
Adapt the dashboard to your brand and needs
Tinybird Configuration
Set up your Tinybird workspace and data project