Campaigns
Editor
The QR encodes
<base>/<slug>. Host the included redirect-worker.js on Cloudflare Workers to actually redirect & log scans. Until then, the QR works as a normal static link.Design
Tracking
If you deploy the worker, set this to its
/stats URL. The kit will fetch live scan counts per slug.Select a campaign to see scan data.
How to enable real tracking
- Open
redirect-worker.js(next to this file). - Deploy it as a Cloudflare Worker bound to a route like
yourdomain.com/r/*andyourdomain.com/stats*. - Create a KV namespace called
QR_KVand bind it to the Worker. - Sync each campaign by hitting
POST /set(button below). - Set the redirect base & stats endpoint above.