Skip to main content

Website Analytics & AI Insights

A menu item in the sidebar: Analytics & Insights → Website & Insights
Path: /dashboard/analytics

The previous second link “Website Analytics” (/dashboard/analytics/dashboard) automatically redirects here.

Select Center

At the top: Center Filter (as in other cockpit lists) – all KPIs and insights relate to this center.

Time Period

In the header: 24h, 7 days, or 30 days – applies to the website tab and AI insights.

Tabs

TabContent
WebsiteKPIs, visitor trend, top pages, referrers, devices (Umami)
AI InsightsRecommendations + Message formulation for client conversation (clientMessage, copyable)

Conversation with the Client (Website Tab)

At the top of the Website tab, the box “Conversation with the Client” appears: 2 AI key points in client language (focus stakeholder). The button “All AI Insights” opens the full tab including quick filter “Summarize for Client”.

AI Insights – Prerequisites

  1. Center: Analytics active, Umami Website ID (Analytics tab)
  2. Server: UMAMI_PASSWORD and OPENAI_API_KEY
  3. Sufficient traffic/events in the selected time period

API: GET /api/analytics/insights?centerId=…&timeframe=day|week|month

Without configuration: “Not available” or message with CTA Set up Umami – no demo charts, no chatbot, no export button.

Quality Checklist (Website Tab)

PriorityTopicStatus
P0Pages/Devices only real Umami data or “Not available” + Setup CTA
P0Comparison % without division-by-zero (formatPercentChange)
P1Umami Metrics: URL, Referrer, Device (getUmamiMetrics)
P2No more Center List; one trend chart; comparison text by time period
P3/api/analytics: centerId required, day = 24h, trends not random
P4CSV export; AI quick questions instead of demo chatbot

Additionally Implemented

  • Cockpit Additional Metrics: Peak time, strongest day, returning %, feedback (from /api/analytics)
  • Auto-Refresh: optional every 60 seconds (only visible tab)
  • Tab Channels: Website / Signage / Companion without fake numbers
  • Footfall: Live adapter prepared (integration.ts, zone types, Env, documentation)

Other Analytics Menu Items

  • SEO & AI Visibility – GEO/SEO Overview
  • Visitor Flows – Footfall (prepared)
  • Reviews – Feedback Analytics

Developer

  • Website Data: /api/analytics/website-stats
  • AI: apps/dashboard/src/lib/analytics-insights.ts
  • UI: website-analytics-view.tsx, analytics-insights-panel.tsx

See Analytics Integration (Developer).

Nutzungsstatistik: Seitenaufrufe werden anonymisiert erfasst. Im Umami-Dashboard nach diesem Pfad filtern: /en/dashboard/analytics-dashboard