feat: Self-hosted Plausible support (#656)

* Self-hosted Plausible support

* Remove leftover import
This commit is contained in:
Olivér Falvai
2023-12-28 17:49:35 +01:00
committed by GitHub
parent 359484c139
commit 68f53352e7
5 changed files with 15 additions and 16 deletions

View File

@ -1,3 +0,0 @@
import Plausible from "plausible-tracker"
const { trackPageview } = Plausible()
document.addEventListener("nav", () => trackPageview())