• The page-view job ('RecordPageViewJob') now reports any failure instead of letting it escape. The dispatch is deferred with 'afterResponse()', so on the 'sync' connection the job runs from 'Kernel::terminate()', outside the tracking middleware's try / catch: a stats table that was not migrated yet took down every page instead of costing a single view.
    • Leaving 'STATS_QUEUE_NAME' empty in '.env' no longer pushes the tracking job onto a nameless queue: an empty entry now falls back to 'default' as it did when the key was absent.
    • Added behavioural bot detection ('BotDetector'): a client advertising a real browser User-Agent is now also required to send the headers that browser always sends ('Sec-Fetch-*', 'Accept-Language', 'Accept'). This catches scrapers and traffic bots behind rotating proxy pools, which copy a genuine Chrome User-Agent and so passed the crawler token list and the search-engine IP ranges untouched.
    • Added datacenter / cloud IP filtering ('config/datacenter-ips.php') covering Alibaba Cloud, DigitalOcean, Hetzner, Vultr, Linode, OVHcloud, Oracle Cloud, Tencent Cloud, Scaleway, Contabo and M247 / Leaseweb, plus an admin-editable list of additional ranges.
    • Added the 'stats:reclassify-bots' command to re-classify already-recorded page views and rebuild the aggregate tables from the corrected rows (dry run by default; '--force' to apply, '--recompute' to rebuild).
    • Added 'StatsService::recomputeAggregates()', which rebuilds 'stats_daily', 'stats_countries', 'stats_cities', 'stats_browsers', 'stats_platforms', 'stats_referrers' and 'stats_referrer_urls' for a date range directly from 'stats_page_views', one transaction per day.
    • Bot hits are now stored and flagged ('stats_page_views.bot_reason') instead of being discarded, so the filtered share is visible in the settings screen and the classification can be reviewed and reversed. A new "Store bot hits" setting restores the old drop-on-arrival behaviour.
    • Flagged bot hits no longer touch the six aggregate tables, and no longer trigger a GeoIP lookup, so a rotating-IP flood never fills the per-IP GeoIP cache and can no longer exhaust an API-backed driver's quota.
    • Redirects (3xx) are no longer counted as page views: only responses that actually rendered a page (HTTP 200) are. A redirect has no content the visitor sees and its destination is tracked separately, so counting both inflated the totals; it also stopped link-following crawlers registering a view every time they hit a redirect-only endpoint such as '/auth/connect/{provider}'.
    • Page-view tracking is now dispatched as a queued job (RecordPageViewJob) and deferred to ->afterResponse(), so the HTTP response is no longer blocked by the per-request DB writes.
    • Added composite indexes on 'stats_page_views'('visitor_hash', 'viewed_at', path) and ('visitor_hash', 'country_code', 'viewed_at') to back the unique-visitor subqueries.
    • GeoIP lookups are now memoized per request and cached for 'stats.geoip_cache_minutes' (default 60) so repeat visitors and bots skip the driver.
    • The admin dashboard traffic widget caches its 14 aggregate queries for 'stats.widget_cache_minutes' (default 5)
    • Hardened the stats:purge schedule with onOneServer() + withoutOverlapping() + runInBackground()
    • Added STATS_QUEUE_CONNECTION / STATS_QUEUE_NAME .env settings to control where the tracking job runs.
    • Added 'stats_referrer_urls' table for per-URL referrer aggregation.
    • Referrer domains now link to a drill-down page showing individual referring URLs.
    • Domain drill-down available from both the overview card and the full referrers page.