rizaldy.club/quartz/components/scripts/plausible.inline.ts

4 lines
136 B
TypeScript
Raw Normal View History

2023-07-03 03:08:29 +07:00
import Plausible from 'plausible-tracker'
const { trackPageview } = Plausible()
document.addEventListener("nav", () => trackPageview())