mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
3 lines
136 B
TypeScript
3 lines
136 B
TypeScript
import Plausible from "plausible-tracker"
|
|
const { trackPageview } = Plausible()
|
|
document.addEventListener("nav", () => trackPageview())
|