Run Lume on your Cloudflare Worker
Report edge traffic from your own Cloudflare zone: no SDK, no app changes, no added latency.
Install
1Create a Worker
From the Cloudflare dashboard (point-and-click, no terminal) or with the wrangler CLI if you prefer working locally.
2Paste the Lume Worker code
Drop in the small, dependency-free Lume Worker and deploy.
3Add your ingest token
Store it as an encrypted secret named LUME_INGEST_TOKEN, never in the code.
4Add a route
Route your zone traffic to the Worker; every matching request is reported after the response via ctx.waitUntil().
Good to know
- Works for any origin behind Cloudflare (WordPress, static sites, non-Node stacks), and it sees edge-cache hits the origin never does.
- Reporting runs after the response is already on its way to the visitor, so it can never add latency and can never break your site (fail-open end to end).
- Requires a proxied (orange-cloud) zone. It forwards the visitor IP only to verify crawlers (reverse DNS / published IP ranges), used transiently and never stored.
Works with the rest of your stack
Lume is CDN-agnostic and server-side. This is one of several install paths, all feeding the same dashboard. Mix and match across hosts, or move providers without losing your history.
Cloudflare Worker FAQ
Do I need the wrangler CLI?
No. There is a point-and-click dashboard path that needs no terminal and no Node. The CLI path is there if you prefer working locally.
Worker or the no-code connector?
The Worker is real-time and enables verification; the connector is analytics-only but needs zero edge code. Many start on the connector to evaluate, then add the Worker for verification.
Send your first Cloudflare Worker event in minutes.
Free plan, one ingest token. See every human, bot, and AI agent, however you install.
Start for free →