mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 13:26: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())
|