@mbinjamil/matomo-client / trackPageView
trackPageView(
pageTitle
?):void
Logs a page view. The URL is set to window.location.href
because Matomo
by default does not support client-side routing
• pageTitle?: string
A custom title that overrides the default HTML page title
void
import { trackPageView } from "@mbinjamil/matomo-client";
trackPageView();