Skip to content

Milestones

List view

  • **Objective:** Launch a privacy-first, zero-cookie analytics tool that tracks essential e-commerce events and fits within Cloudflare’s Free Tier. ## 🏗️ 1. Technical Foundation (The Core) * [ ] **Global Tracking Script (`tracking-client.js`):** * Implement event batching (send every 10 events or on page exit). * Generate a random, anonymous UUID stored in `localStorage` (No PII). * Support `keepalive: true` to ensure data reaches the backend even if the user closes the tab. * [ ] **Edge API (Hono + Cloudflare Workers):** * Create `/api/collect` endpoint to receive batches. * **CORS Configuration:** Allow requests from any domain (crucial for a third-party tracker). * **Rate Limiting:** Check Cloudflare KV for `customer_id` usage limits before processing. * [ ] **Database Schema (Cloudflare D1):** * Table: `websites` (to store customer API keys/settings). * Table: `events` (storing `uid`, `event_type`, `url`, `metadata`, `timestamp`). ## 📊 2. Essential E-commerce Features * [ ] **The "Standard 4" Tracking:** * `page_view`: Automatic tracking of every page load. * `view_item`: Tracking when a user looks at a specific product. * `add_to_cart`: Tracking when the "Buy" or "Add" button is clicked. * `purchase`: Tracking successful conversions and revenue values. * [ ] **Traffic Sources:** * Capture `document.referrer` to identify where users are coming from (Google, Twitter, Direct). ## 🖥️ 3. The Dashboard (User Interface) * [ ] **Analytics Overview:** * Real-time chart of Total Visitors vs. Unique Visitors. * Top 10 most visited pages/products. * Top Referring domains. * [ ] **E-commerce Funnel View:** * A visual representation showing the drop-off rate from "Item Viewed" to "Purchased." * [ ] **Project Management:** * Allow users to generate their tracking snippet (the `<script>` tag). ## 💰 4. SaaS & Monetization (The "Bangladesh Path") * [ ] **Auth Integration:** Connect **Clerk** or **Kinde** for user sign-up/login. * [ ] **Paddle Integration:** * Setup a "Pro Plan" ($15/mo) on Paddle. * Integrate the Paddle Overlay Checkout on your dashboard. * [ ] **Quota Guardrail:** * Cron job (scheduled task) to reset every customer's "5,000 Event" limit on the 1st of every month. --- ### 🚫 "Won't-Have" for v1.0 (Wait until v2.0) * No Session Replays . * No Heatmaps. * No AI Predictions. ### 💡 Repository Tip > **Current Focus:** Completing Phase 1 (Technical Foundation). > **Target Launch Date:** Feb 14,2026. > **Start Date:** Feb 10 2026

    Overdue by 5 month(s)
    Due by February 14, 2026