When and where the data comes from
Time range
Presets: Last 24 Hours, Last 7 Days, Last 30 Days, Last 3 Months, Last Year. Stored in component state; changing the dropdown updates all KPIs and charts that support that range.
Custom range: When "Custom Range" is selected, a date-range picker appears. Start and end dates are sent to the API so you can analyze any period. The status bar shows the chosen dates.
Per-chart support: Not all charts support all ranges. For example, "Last 24 Hours" and "Last Year" may be supported only by the main visitors chart; others may use 7d, 30d, 90d. The UI normalizes the range (e.g. falls back to 30d) when a chart doesn't support the selected preset.
Data source
WordPress Analytics – Default and currently the only option. Data comes from FleekDash's own tracking (visitors, pageviews, referrers, devices, geographic, etc.).
Planned: Google Analytics and Combined Data (hybrid) are listed in the code and reference; the source selector is ready for when these integrations are added. Until then, the dropdown may show only "WordPress Analytics".
Benefit: One control for "when" and one for "where data comes from"; future-proof for more sources.