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