feat: Self-hosted Plausible support ()

* 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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 16 deletions
quartz/components/scripts

View file

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