Email list hosting service & mailing list manager

Scheme.org URL shortener Lassi Kortela (27 Jul 2022 14:17 UTC)
Re: Scheme.org URL shortener Lassi Kortela (05 Aug 2022 11:58 UTC)
Re: Scheme.org URL shortener Jakub T. Jankiewicz (05 Aug 2022 12:36 UTC)
Re: Scheme.org URL shortener Lassi Kortela (05 Aug 2022 14:08 UTC)
Re: Scheme.org URL shortener John Cowan (05 Aug 2022 18:07 UTC)
Re: Scheme.org URL shortener Lassi Kortela (05 Aug 2022 20:09 UTC)
Re: Scheme.org URL shortener John Cowan (05 Aug 2022 22:37 UTC)
Re: Scheme.org URL shortener Lassi Kortela (05 Aug 2022 22:59 UTC)
Re: Scheme.org URL shortener Jakub T. Jankiewicz (06 Aug 2022 11:09 UTC)
Log analysis for statistics Lassi Kortela (06 Aug 2022 14:29 UTC)
Re: Log analysis for statistics Jakub T. Jankiewicz (06 Aug 2022 19:13 UTC)
Re: Log analysis for statistics Lassi Kortela (07 Aug 2022 06:40 UTC)
Re: Log analysis for statistics Magnus Ahltorp (06 Aug 2022 21:37 UTC)
Re: Log analysis for statistics Lassi Kortela (07 Aug 2022 06:55 UTC)

Re: Log analysis for statistics Lassi Kortela 07 Aug 2022 06:40 UTC

> It's better than nothing, but not as nice as some analytics software. Not
> every Analytics is tracking people. But by tracking I mean invading privacy,
> like Google Analytics does or other commercial software. Example is Open Web
> Analyticshttps://www.openwebanalytics.com/  I use it on my website.

It's good that it's self-hosted but you'd probably find that most
schemers regard that kind of tracking as too invasive socially and too
heavyweight technically. It's building individual profiles of users and
running browser-side code to track where you click. On the server, it
looks like we'd need PHP and a database.

> But by analytics for links I was thinking about adding some server side code
> that will save IP address, time and URL. This is exactly what server logs
> are saving. Also saving User-Agent is good idea since it's sent as HTTP
> header.

Indeed. Nginx saves all that in a standard format, so we can run any
program that can parse it.

I believe you can plug a GeoIP database into Analog and the others to
get a rundown by country.

> I will try to search something for Nginx, since cookie based analytics is
> probably not an option, even if self hosted.
>
> And a question: how the redirect on go.scheme.org is working? Is it Nginx
> configuration, or is is some kind of server side script that is doing HTTP
> redirect?

Nginx configuration:

https://github.com/schemeorg/linux-configurations/blob/3f6f7fc28c78b677388b4f54927b6bf94a2b1389/nginx.scm#L325

The script in the go.scheme.org repo generates a map file for nginx:

https://github.com/schemeorg/go.scheme.org/blob/947aabae9540f6751511abcf7348fa11b86059bc/scripts/generate.scm#L139

The file is installed as /production/go/nginx/map.conf on the server and
looks like this:

"irc"
"https://web.libera.chat/#scheme";

"log"
"http://gmw.xen.prgmr.com/irc-logs/";

"wp"
"https://en.wikipedia.org/wiki/Scheme_(programming_language)";

...

IMHO HTTP redirect is the way to go (as you said) since people can then
type it directly into the address bar, use command line tools, etc.