Replace Matomo tracking code with Umami tracking code
This commit is contained in:
parent
0e4d9d828f
commit
f72f4afba6
1 changed files with 2 additions and 12 deletions
|
@ -61,20 +61,10 @@ export const useAppHead = (pageTitleChunk) => {
|
||||||
{itemscope: true, itemtype: 'https://schema.org/WebSite', itemref: 'schema_name schema_description schema_image'}
|
{itemscope: true, itemtype: 'https://schema.org/WebSite', itemref: 'schema_name schema_description schema_image'}
|
||||||
],
|
],
|
||||||
script: [
|
script: [
|
||||||
/* Matomo tracking code */
|
/* Umami tracking code */
|
||||||
{
|
{
|
||||||
children:
|
children:
|
||||||
`var _paq = window._paq = window._paq || [];
|
`defer src="https://umami.paulnicoue.com/script.js" data-website-id="2df69370-61fb-424f-9719-d106f3e178b5"`
|
||||||
_paq.push(["disableCookies"]);
|
|
||||||
_paq.push(['trackPageView']);
|
|
||||||
_paq.push(['enableLinkTracking']);
|
|
||||||
(function() {
|
|
||||||
var u="https://matomo.paulnicoue.com/";
|
|
||||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
|
||||||
_paq.push(['setSiteId', '4']);
|
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
||||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
|
||||||
})();`
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue