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