Hacker News new | ask | show | jobs
by Carpetsmoker 2342 days ago
You can probably use the "tracking pixel" method with at least some analytics tools. This is a very old which probably predates even the invention of JavaScript.

Basically, if it accepts a GET with query parameters, it should work.

1 comments

Right, but don't you still need to own a server in order to log these GET requests?
You can do it with one of the hosted services. I don't know which ones support it exactly, but GoatCounter does (although it's kind of an undocumented feature until I merge PR #122).
Cool, I saw GoatCounter on HN a few days ago. I've looked into ways to get a user count without JS and without paying for hosting, but no luck yet. If you find out what free services support it I'd love to know.
Well, GoatCounter does :-)

But any service that sends something like "GET example.com/collect?path=/foo" can be loaded with an <img>. It's perhaps not an explicitly documented feature, but it will still work :-)

Perfect! I'll give it a go :)