From d2b95188d777e62c4d742d7a5d2d31ea98f2aba2 Mon Sep 17 00:00:00 2001 From: Stefanescu Mihai Date: Wed, 18 Mar 2026 11:06:13 +0200 Subject: [PATCH] plan --- PLAN.md | 210 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 PLAN.md diff --git a/PLAN.md b/PLAN.md new file mode 100644 index 0000000..7bd9dae --- /dev/null +++ b/PLAN.md @@ -0,0 +1,210 @@ +# Analytics Platform — Implementation Plan + +## Current State + +The foundation is in place: 7 models with migrations (`Website`, `Visitor`, `AnalyticsSession`, `PageView`, `Event`, `Goal`, `GoalConversion`), a JavaScript tracker served dynamically per tracking ID, and a `POST /api/collect` endpoint that ingests page views and events. No authentication, no dashboard, no frontend yet. + +--- + +## Phase 1: Authentication & Website Management + +The platform needs user accounts and CRUD for tracked websites before anything else is usable. + +- [ ] Install Laravel Breeze (or Fortify) for registration, login, password reset, email verification +- [ ] Build a `WebsiteController` with full CRUD (index, create, store, show, edit, update, destroy) +- [ ] Create views/pages: list of websites, add/edit website form, website settings page +- [ ] Build the "embed snippet" page — show the user the `