4 lines
136 B
TypeScript
4 lines
136 B
TypeScript
import Plausible from "plausible-tracker"
|
|
const { trackPageview } = Plausible()
|
|
document.addEventListener("nav", () => trackPageview())
|