Add plausible

This commit is contained in:
Andras Schmelczer 2026-06-06 20:33:53 +01:00
parent a6ec5b9e55
commit eb807a63a6
7 changed files with 61 additions and 19 deletions

10
frontend/js/stats.js Normal file
View file

@ -0,0 +1,10 @@
import { init } from "./plausible.js";
init({
domain: "fizika.schmelczer.dev",
endpoint: "https://stats.schmelczer.dev/status",
autoCapturePageviews: true,
outboundLinks: true,
fileDownloads: true,
hashBasedRouting: true,
});