The Workers Analytics Engine lets you collect and query analytics data directly on Cloudflare's network. No external services, no sampling, no guessing about data ownership. Events flow through your worker, get logged, then queryable via SQL-like API.
The data model is event-based: each write is an event with a timestamp, a dataset name, and field values. Fields can be numeric, boolean, or string—the usual types. Queries use SQL, supported by a subset of functionality optimized for analytics.
Integration with Workers is seamless. Fire events from your worker code, then query from dashboard or API. Great for A/B testing, feature flags, or usage tracking. Free tier includes substantial event volume. Beyond that, pricing is per million events.