About this template
This analytics workspace gives a small publication a way to investigate its readership without connecting a tracking service. It opens on a populated report with a visitor trend, the previous period and an article ranking. A second series shows pageviews. Moving along the plot reveals the counts behind each point. Selecting an article limits every report to its traffic, and selecting a country or referral source narrows the same audience again.
Ninety days of anonymous sample activity feed the summary, the campaign table and the device and browser breakdowns. The source adapter is separate from the display components, so a publisher can replace the sample with aggregated traffic from an existing service. The range selector supports presets and a custom window. A zero-result combination leaves the filters within reach and gives the reader a direct way back.
Editors can define a goal around an article or action, assemble the steps that lead to it, and inspect how many sessions make it from one step to the next. A sharing control opens a read-only version of the current report with its range and filters intact. The overview works in light and dark modes. On a narrow screen the plot, active filters and most-read articles move ahead of the detailed tables. Change the publication, its sections and its domain to put the same investigative workflow to use for a different editorial desk.
The template prompt
The live demo was built from exactly this text — nothing added.
# Website Analytics Dashboard Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build a privacy-friendly traffic report for [PUBLICATION], a fictional publication at [DOMAIN]. [BRAND] is its analytics workspace. - Audience: Independent editors and audience teams. - Goal: Identify which article, referrer, region and campaign contribute to a change in readership. - Tone: Calm, analytical, crisp typographic hierarchy with practical editorial language. ## Stack - Framework: React 19 + Vite - Styling: Vanilla CSS - Libraries: none - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Use a relative Vite base './'. Bundle fonts and scripts locally, minify, and disable source maps. - Keep all editable labels, sample content and product names in one content module. Put simulated services in one adapter file. - Create a deterministic 90-day fixture through one replaceable data adapter. Derive all metrics, chart points and ordered funnels from its events. ## Variables - [BRAND] — Analytics workspace (default: "Index Lantern") - [PUBLICATION] — Publication (default: "Fieldwork Dispatch") - [DOMAIN] — Publication domain (default: "fieldwork.example") - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/website-analytics-dashboard in the footer (default: yes; delete this line to remove it) The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described. Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components. ## Design ### Colors - Paper `#FFFFFF` — Light report canvas - Slate `#0F172A` — Text, dark mode surfaces and navigation - Indigo `#4F46E5` — Primary series, active links and focus - Soft amber `#F59E0B` — Previous period dashed curve, comparison key and markers with dark labels ### Typography - Navigation and report titles: Instrument Sans (OFL), weights 400/500/600/700 - Numbers and chart labels: IBM Plex Mono (OFL), weights 400/500 ### Layout & motion - Spacing: 208px navigation, 28px content gutter and 20px internal chart padding. Align all figures on consistent baselines. Collapse the rail into a menu on mobile. - Radius: 5px controls, 10px panels and 1px separators. - Motion: Draw the trend immediately and interpolate subsequent changes in under 180ms. Allow keyboard/touch point inspection. - Motion: Keep real-time counter updates subtle and suppress motion when requested. - Imagery: Original two-series SVG trend with fine guides, distinct line patterns and a soft indigo fill. Show a genuinely recognizable vector world map with selectable regions, tooltip and adjacent labeled country ranking. Draw small trend lines from actual aggregates. ## Pages & Sections ### Audience overview (`index.html`) 1. **Workspace and time window** — Show [BRAND], the selected publication [PUBLICATION] with [DOMAIN], Overview, Campaigns, Goals & funnels, and Share report. Default to the last 30 of 90 sample days. Choose 7, 30, 90 or a valid custom interval and compare to the preceding equal-length window with an explicit indication when history is incomplete. Save filters, range, goals and theme locally. Use period-relative axis labels such as D1. Layout: Use a narrow navigation rail with an original indigo symbol, clear active state and the publication switchboard information. Place the report title, range picker, theme toggle and share action above a compact metric row. 2. **Traffic over time** — Calculate unique visitors, pageviews, views per visit and a live visitor count from seeded anonymous visits. Visitors and Pageviews switch the primary measure, a comparison toggle controls the amber dashed series, a tooltip exposes point values. Simulate realtime visits in the adapter. Layout: Give Traffic overview a wide legible plot, labeled axes and a two-part legend. Place the live indicator with the corresponding metric. 3. **Content and audience reports** — Rank pages, referrers, countries, devices and browsers by the selected measure. Derive every block and the country map from the same filtered records. Clicking any row or active country adds a filter chip; adding another dimension intersects the selection. Individual chips and Clear all update all counts and charts. Make empty results reversible. Layout: Under the chart place Top pages beside Top referrers, then Countries with a drawn clickable map and ranking, Devices and Browsers. Display meaningful titles and restrained meter bars with exact counts; maintain touch targets. 4. **Privacy** — Use deterministic synthetic sessions with anonymous visit keys, ordered events, relative day slots, country, referrer, device, browser and campaign. Include repeat sessions so visitor and pageview counts differ. No tracker, consent dialogs or client identifiers. Layout: A small privacy note belongs with the source information. ### Campaigns (`#/campaigns`) 1. **Campaign report** — Group traffic by UTM campaign, source and medium and show visits, pageviews and goal conversions. Click a row to filter all reports. Keep the active range and chips across navigation. Layout: Provide an actionable table with the strongest source first and allow narrow screens to inspect each row. ### Goals & funnels (`#/goals`) 1. **Goal editor** — Seed two working goals including newsletter signup. Add, rename and delete goals with event or path conditions, and calculate completions for the current selection. Layout: Pair a named goal list and concise form with live results. 2. **Funnel builder** — Seed a three-step reading funnel. Let the user add, remove, reorder and choose event steps, name and save the funnel. Count sessions that reached each step in order within the same session, and show drop-off and conversion. Recompute under stacked filters. Layout: Use scaled horizontal bars on a shared baseline and real counts. Put editing controls alongside each step. ### Public report (`#/share`) 1. **Share view** — Copy a working link encoding the range, all filters and any custom goal/funnel definitions required to reproduce the view on another device. Open in read-only mode without edit controls or access to personal local settings. Direct visits with no parameters show the seeded report. Layout: Keep the report title, trend and breakdown tables, with a compact publication header and a Read-only label. ## Assets - font: Self-host Latin WOFF2 files from @fontsource/instrument-sans and @fontsource/ibm-plex-mono (SIL OFL). - icon: Draw the publication mark, charts, simplified geographic map and functional glyphs in code. Document geography sources if used. ## Don'ts - Do not show invented fixed KPI totals, nonfunctional navigation, a labeled empty map or fake share links. Keep the sample entirely local. - Use only the variable defaults for the default build. No real products, platforms, brands or logos. English copy throughout. No decorative dates or time stamps. - No backend, auth, external API, CDN or remote font. Use relative local asset URLs and hash routes or HTML files, serve direct links from a subdirectory. Keep the built site under 20 MB with no source maps or source tree. - Document all fonts, third-party files and code-drawn assets in ASSETS.md. Honor reduced motion, keyboard focus and contrast at AA. At 390px all controls must remain accessible without page overflow. Avoid empty first frames, disabled mock controls and interactions that only change a label. --- — Prompt by VibeFather · https://vibefather.ai/t/website-analytics-dashboard · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
Free for personal projects under CC BY-NC 4.0. Commercial use comes with Pro.
DESIGN.md
The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.
---
name: "Website Analytics Dashboard"
colors:
paper: "#FFFFFF"
slate: "#0F172A"
indigo: "#4F46E5"
soft_amber: "#F59E0B"
typography:
navigation_and_report_titles: { family: "Instrument Sans", weights: [400, 500, 600, 700] }
numbers_and_chart_labels: { family: "IBM Plex Mono", weights: [400, 500] }
spacing: "208px navigation, 28px content gutter and 20px internal chart padding. Align all figures on consistent baselines. Collapse the rail into a menu on mobile."
radius: "5px controls, 10px panels and 1px separators."
---
# Website Analytics Dashboard — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Paper** `#FFFFFF` — Light report canvas
- **Slate** `#0F172A` — Text, dark mode surfaces and navigation
- **Indigo** `#4F46E5` — Primary series, active links and focus
- **Soft amber** `#F59E0B` — Previous period dashed curve, comparison key and markers with dark labels
## Typography
- **Navigation and report titles** — Instrument Sans (OFL), weights 400/500/600/700. Self-host the font files.
- **Numbers and chart labels** — IBM Plex Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: 208px navigation, 28px content gutter and 20px internal chart padding. Align all figures on consistent baselines. Collapse the rail into a menu on mobile.
- Radius: 5px controls, 10px panels and 1px separators.
## Motion
- Draw the trend immediately and interpolate subsequent changes in under 180ms. Allow keyboard/touch point inspection.
- Keep real-time counter updates subtle and suppress motion when requested.
## Imagery
Original two-series SVG trend with fine guides, distinct line patterns and a soft indigo fill. Show a genuinely recognizable vector world map with selectable regions, tooltip and adjacent labeled country ranking. Draw small trend lines from actual aggregates.
## Tone
Calm, analytical, crisp typographic hierarchy with practical editorial language.
---
— Prompt by VibeFather · https://vibefather.ai/t/website-analytics-dashboard · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
Make it yours
- An independent newsletter: set PUBLICATION and DOMAIN to your title, then replace the sample articles and campaign names with your own send and signup data.
- A local news desk: point the country map and top pages at your city's sections, and build a funnel from homepage visit to article read to newsletter signup.
- A membership publisher: add a goal around subscription checkout, then share a read-only report link with your editorial team each week.
- A creator running a blog: keep the visitors and pageviews chart, swap the referrer table for social platforms and set BRAND to your own workspace name.
Website Analytics Dashboard: questions and answers
How do I connect the Website Analytics Dashboard to my real traffic data?
The Website Analytics Dashboard template ships with a deterministic 90-day sample fixture behind a separate source adapter, so you replace that adapter with your own aggregated traffic rather than editing the display components. Export daily visitor, pageview, referrer, country, device, browser and campaign totals from your existing service, then feed them into the same shape the sample uses. No tracker or consent dialog is needed because the template only reads aggregates.
Can I change the publication name, sections and domain in the Website Analytics Dashboard?
Yes. The Website Analytics Dashboard uses three variables: BRAND for the analytics workspace name, PUBLICATION for the publication itself and DOMAIN for its address. Change these and rewrite every headline, label and chart caption to match, since the default copy is written for Fieldwork Dispatch at fieldwork.example. The prompt keeps all copy in one content file so labels can be swapped without touching the layout.
Does the Website Analytics Dashboard include goals, funnels and campaign reports?
The Website Analytics Dashboard includes a campaign report that groups traffic by UTM campaign, source and medium with visits, pageviews and conversions. A goals editor lets you add, rename and delete goals with event or path conditions, and a funnel builder counts sessions that reach each step in order, showing drop-off and conversion. Both recalculate under the active date range and filter chips.
How does the share report link work in the Website Analytics Dashboard?
The Website Analytics Dashboard's share control copies a working link that encodes the selected date range, every active filter and any custom goal or funnel definitions. Opening that link on another device shows the same report in read-only mode, with no edit controls and no access to personal local settings. Direct visits with no parameters show the seeded sample report instead.
Is the Website Analytics Dashboard template free to use?
The Website Analytics Dashboard prompt and its DESIGN.md are free for personal, non-commercial use under CC BY-NC 4.0. Commercial or client work needs a VibeFather Pro license, which also unlocks the full prompt for Pro templates and the source code of the demos. The live demo built with Gemini 4 Neon in Antigravity is public to view.
How do I build a website analytics dashboard with AI?
Copy the prompt from this page or run npx vibefather add website-analytics-dashboard, replace [BRAND], [DOMAIN] and [PUBLICATION] with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demo was built from exactly that text.
Which AI model built the Website Analytics Dashboard demo?
The Timber journal case was built by Gemini 4 Neon in Antigravity. Each build used the published prompt with nothing added.
What tech stack and pages does the Website Analytics Dashboard template use?
Website Analytics Dashboard is a 4-page site built with React, with micro-interactions. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.
Can I use the Website Analytics Dashboard template for a client or a business?
The Website Analytics Dashboard prompt and DESIGN.md are free for personal, non-commercial projects under CC BY-NC 4.0. Client work and commercial use need VibeFather Pro, which also includes the source code of the live demo.
Does the Website Analytics Dashboard template work on mobile?
Yes. Every Website Analytics Dashboard build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.