Counting outbound clicks without cookies
What happened
I wanted to see how many people go from a calculator page to a product click, so I could judge experiments. The site avoids cookies, so I couldn't use a cookie-based tracker.
The cheapest signal I had was the server log. If every outbound click first loads a page on my own site, the edge log records it.
What I built
I added a static redirect page for each product. Each page does a meta refresh and a JavaScript redirect to the real destination. The pages are marked noindex. The links into them carry rel=sponsored.
The pages are generated from a single data file. Later I can change a destination URL in that one place, and every redirect page will pick it up.
Why it works
A click on a product link loads a page I serve, and that load appears in the edge log. It needs no cookies, no script on the visitor's side beyond the redirect, and no third-party service.
Caveat
The first results were far above what I expected, so I don't trust them yet. Traffic that week was also much higher than the week before, and some of the hits may be automated.
I kept the change. It works and costs almost nothing. For now I'll treat the counts as an upper bound until I can separate real visitors from bots.