Analytics module
The analytics module is a Hono middleware for x402 sellers on Cloudflare Workers. It writes one metadata record per request: whether it was unpaid, whether a 402 challenge was issued, whether a payment arrived, and whether the paid response was delivered. It fails open, so a recording problem never blocks a request.
Terms: see the glossary.