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:
parent
63dab82d1d
commit
102ad19f8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue