Visit Statistics
Built-in visit tracking: page views, daily stats, retention settings.
📊 Visit Statistics
Built-in analytics system. No external services required (Yandex.Metrica, Google Analytics).
Enabling
- Admin panel → Settings → Statistics tab
- Enable "Collect statistics" (
stats_enabled = 1) - Set the retention period (default 90 days)
What Is Collected
- Page views by page and day
- Unique visitors
- Referrer sources
- Devices (desktop, mobile, tablet)
- Browsers
- Peak hours
- Days of the week
What is NOT collected:
- Personal data (IP is not stored)
- Cookies (not used)
- On-page behavior
Dashboard
Address: /admin/stats
Shows:
- 4 KPIs: views, uniques, pages, sources (over 30 days)
- Daily chart
- Top-20 pages
- Distribution by source, device, browser
- Heatmap by hour and day of the week
Cleanup
Automatic: every ~100 requests, records older than stats_retention_days are deleted.
Disabling
stats_enabled = 0 — collection stops. Existing data is preserved.