keroosha.cybergulag.today/quartz/components/scripts/plausible.inline.ts

4 lines
136 B
TypeScript
Raw Normal View History

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