diff --git a/plugins/matomo.client.ts b/plugins/matomo.client.ts index 9b723d02..6dd7fc1e 100644 --- a/plugins/matomo.client.ts +++ b/plugins/matomo.client.ts @@ -11,6 +11,7 @@ export default defineNuxtPlugin(() => { _paq.push(['deleteCustomDimension', 1]) _paq.push(['setReferrerUrl', origin + from.path]) _paq.push(['setCustomUrl', origin + to.path]) + _paq.push(['setDocumentTitle', document.title]) _paq.push(['trackPageView']) console.debug(`trackPageView ${from.path}->${to.path}`) }