From 360422d7ebd8f830965fafaf19e05fef580ccd4a Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Thu, 23 Apr 2026 11:38:08 +0200 Subject: [PATCH] Log original URL in GoatCounter for 404 pages Override the GoatCounter path on the 404 page to include the originally requested URL, making it possible to see which pages visitors are trying to reach. Co-Authored-By: Claude Opus 4.6 --- 404.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/404.html b/404.html index 3a16ab5..7b83bbf 100644 --- a/404.html +++ b/404.html @@ -23,3 +23,10 @@

404

Page not found :(

The requested page could not be found.

+ +{%- if site.goatcounter -%} + +{%- endif -%}