Skip to content

Cloudflare Workers Deployment

The platform with highest L2 anti-scanner accuracy among the four (uses native ASN 8075 detection to identify Microsoft Defender SafeLinks scanner).

One-click deploy

Deploy to Cloudflare Workers

Or paste this template repo URL into the Cloudflare console:

https://github.com/suxuemi/email-track-domain

Configuration

VariableDefaultDescription
BACKEND_HOSTcf-track.laifa.xinTracking backend hostname
BACKEND_PROTOCOLhttp:Backend protocol (colon required)
REDIRECT_TARGEThttps://www.google.comWhere to send rejected requests

After deploying, modify in Workers Dashboard → Settings → Variables. Or edit wrangler.jsonc vars section and redeploy.

Custom domain

See Bind a Custom Domain.

Differences vs other platforms

CloudflareVercel / Netlify / Deno
L2 detection methodNative ASN 8075 (high accuracy)IP-range match (medium)
L2 IP range refresh needed?NoEvery 3-6 months
Domain flexibilityDNS must be hosted on CFAny DNS via CNAME
Free tier100K req/day100GB traffic/month (V, N) or 1M req/month (Deno)
RuntimeV8 isolateV8 isolate / Deno

Best for: DNS already on Cloudflare, need highest anti-scanner accuracy (e.g., high-value B2B email marketing).

Avoid if: Don't want to move DNS → use Vercel / Netlify instead.