Update analytics tracking to use current page URL

Fix tracking to use the actual page URL instead of a hardcoded test path
This commit is contained in:
Ruben 2025-10-21 22:14:53 +02:00
parent 63dab82d1d
commit 102ad19f8d

View file

@ -63,6 +63,6 @@ function getActiveClass($href) { return rtrim(parse_url($_SERVER['REQUEST_URI'],
</div>
</footer>
</div>
<img src="https://stopplidelsen.goatcounter.com/count?p=/test">
<img src="https://stopplidelsen.goatcounter.com/count?p=<?= htmlspecialchars($_SERVER['REQUEST_URI']) ?>">
</body>
</html>