A unique click id on a free Cloudflare redirect, no Worker involved
uuidv4() is banned in redirect targets, but cf.ray_id is not: a Single Redirect can stamp every click with its own id. Measured live, with the traps.
uuidv4() is banned in redirect targets, but cf.ray_id is not: a Single Redirect can stamp every click with its own id. Measured live, with the traps.
Years of unanswered threads, even a €100 bounty on the question. The loop that closes it: a redirect hop that mints a click_id and takes the postback.
Web Analytics, Plausible and Umami are page beacons, so a 301 is invisible to all of them. A Worker plus Analytics Engine counts it on the free plan.
Google Ads flags redirects that drop click IDs and tells you to ask IT. Here is how to find the hop that drops them yourself, with curl, in about a minute.