• v0.4.3 6d2ae104d7

    Fix analytics classification: ignore bot-UA pings, skip preload GETs.

    LeoVasanko released this 2026-08-22 18:23:38 +00:00 | 155 commits to main since this release

    JS-running crawlers (Googlebot, GoogleOther, Applebot) execute pagerite.js
    and send navigation pings, registering as visitors. Pings whose User-Agent
    matches _is_bot_ua (any "bot" token plus listed exceptions) are now
    ignored, so their document GETs flush to the crawler list as intended. No
    source verification: a spoofed bot UA merely lands in the crawler stats,
    and path-based abuse classification catches scanners regardless.

    Idle-time link preloads from pagerite.js were queued as pending crawler
    hits and flushed to the crawler list whenever the user navigated more than
    10s later, so real visitors' subpage loads showed up as crawler hits.
    Preload fetches now carry an x-pagerite-preload header and the document
    GET handler skips tracking for them; the ping sent on actual navigation
    does the counting.

    Downloads