Static Cloudflare Pages app
Total Collected Sales Forecaster
Upload a Square transaction CSV and forecast daily Total Collected from today forward through any end date. The app ignores sales dated on or after the forecast start date, builds a complete historical daily calendar through the prior day, keeps missing transaction dates as $0 sales, and learns recurring no-sales days such as closed Sundays. Optional external factor CSVs, such as daily temperature or event traffic, are tested as residual adjustments after the calendar baseline is built, so they can improve accuracy without creating runaway long-range forecasts.
1. Upload sales data
Expected Square format: a CSV with Date and Total Collected. The app also auto-detects common date and sales column names.
2. Optional external factors
Upload one CSV with Date + up to 3 numeric factor columns, or upload up to 3 separate CSVs. Future factor dates are used when available; missing future values are imputed from recent weekday patterns. Metadata columns such as index, status, method, and day name are ignored automatically.
External factor CSV format
Date,Temperature,FootTraffic,EventScore 2026-04-01,58,240,0 2026-04-02,63,255,1 2026-04-03,70,310,0