fix: set URL to be displayed in Matomo analytics panel to reflect the actual URLs
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
This commit is contained in:
parent
cd727b2a19
commit
4c70475718
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ function AnalyticsInternal(props: { pagesRouter?: boolean }) {
|
|||
// Track page view
|
||||
const _paq = ((window as any)._paq = (window as any)._paq || []);
|
||||
_paq.push(["setDocumentTitle", document.title]);
|
||||
_paq.push(["setCustomUrl", document.location]);
|
||||
_paq.push(["trackPageView"]);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue