Commit Graph

3 Commits

Author SHA1 Message Date
3cd296f6bf feat: dynamic data insights + remaining audit fixes
DATA FIXES:
- Dashboard insights now fully dynamic per date range
  - Revenue/orders/newcust/AOV trend (splits data in half, compares)
  - Channel concentration % computed from filtered data
  - Repeat revenue % with date-range label
  - All insights adapt when user changes date filter/preset
- Offer page charts now load from API (not hardcoded arrays)
  - Revenue chart, new customer chart, channel donut = live data
  - Hero stats (-84%, -42%, 85%) computed dynamically from API
  - ROI calculator AOV pulled from latest year's actual data

REMAINING AUDIT FIXES:
- Fix #4: 'Built by' section on offer page (name, bio, contact)
- Fix #9: Before/After comparison block on homepage
  - Side-by-side: current JV PDP flaws vs AI engine output
  - 8 specific ✗/✓ comparison points
- Fix #6: Before/after serves as instant proof (no 90s wait)

All 10 audit fixes now implemented.
2026-03-02 22:16:29 +08:00
ebe1dd5c14 fix: conversion audit — fix all broken CTAs, wrong data claims, hero rewrite
CRITICAL:
- Fix broken mailto: CTAs on /offer and /proposal (empty href!)
- Fix 97.4% channel dependency claim → actual 85% (verified from DB)
- Fix 37.3% repeat rate → 57.6% cohort return rate (verified)
- Fix revenue model payback math (was 2.6mo, actual 3.5mo at 100/mo)
- Fix cost-of-waiting claim with verifiable math

CONVERSION:
- Hero rewrite: 'Lost 84% of new customers' → client problem, not tech brag
- Nav: remove duplicate Proposal link, single 'The Proposal' → /offer
- Footer CTA: primary action is now 'See the Full Proposal'
- All CTAs now include properly formatted mailto with subject+body
- Replace unverified competitor claim with specific named competitors

DATA INTEGRITY:
- 15/23 claims verified SOURCE-LINKED from PostgreSQL (728K orders)
- 4 claims corrected (97.4%→85%, 37.3%→57.6%, payback, cost-of-waiting)
- Revenue calculator uses cohort-verified return rate
- Board summary updated with correct figures
2026-03-02 21:42:02 +08:00
09d837a660 v2: Live Flask app — real Gemini AI demos, Nano Banana image gen, real £19.4M data dashboard
- Flask + gunicorn backend replacing static nginx
- 3 live AI demos powered by Gemini 2.5 Flash
- Nano Banana + Nano Banana Pro for product image generation
- Real JV ecommerce dashboard (728K orders, 230K customers, 4MB data)
- AI Infrastructure Proposal + Offer pages
- Live product scraper for justvitamins.co.uk + competitor pages
- API: /api/scrape, /api/generate-pack, /api/competitor-xray, /api/pdp-surgeon, /api/generate-images
2026-03-02 20:02:25 +08:00