Build a branded link shortener with click tracking on an edge platform (Cloudflare Workers with KV for the slug lookup and a small database for the click log is a clean fit, and runs comfortably on a free tier). The redirect handler looks up the destination, logs the click asynchronously so the redirect itself never waits on the write, then forwards the visitor — never index the redirect page itself. Inject UTM parameters configured per link, and pass through any incoming ad-click identifiers (Meta's fbclid, Google's gclid/gbraid/wbraid) to the destination untouched, logging them alongside the click. Filter obvious bot traffic by user-agent before counting a click. A small password-protected admin view for creating links and seeing per-link, per-day click counts. Do not build the loop back to Meta's Conversions API or Google's offline conversion import — correctly deduplicating a Purchase event against the browser pixel, and reversing it cleanly on a refund, is real, ongoing integration work with two platforms that both change their requirements on their own schedule; a silently wrong conversion feed is worse than none at all. Do not attempt TLS provisioning for a domain you don't personally own — that's a different, harder problem than pointing your own domain at the redirect.