5 ms·
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
by Carpetsmoker 7y 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.
- awb 7y agoRight, but don't you still need to own a server in order to log these GET requests?
- Carpetsmoker 7y agoYou 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).
- awb 7y agoCool, 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.
- Carpetsmoker 7y agoWell, 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 :-)
- awb 7y agoPerfect! I'll give it a go :)