diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 45a5b0c57..cb8a827f7 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -2,7 +2,19 @@ module.exports = { title: 'AlmaLinux Wiki', description: 'AlmaLinux OS Documentation', - head: [ + head: [ ['script', {}, ` + var _paq = window._paq = window._paq || []; + /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + (function() { + var u="https://matomo.almalinux.org/"; + _paq.push(['setTrackerUrl', u+'matomo.php']); + _paq.push(['setSiteId', '5']); + 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); + })(); +`], ['link', { rel: "shortcut icon", type: 'image/png', href: "/images/logo.png"}], ], base: '/',