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