Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<!-- Matomo --> | <!-- Matomo --> | ||
− | var | + | var _paq = window._paq || []; |
_paq.push(['requireConsent']); | _paq.push(['requireConsent']); | ||
_paq.push(['requireCookieConsent']); | _paq.push(['requireCookieConsent']); |
Revision as of 07:54, 10 June 2021
<!-- Matomo -->
var _paq = window._paq || [];
_paq.push(['requireConsent']);
_paq.push(['requireCookieConsent']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://lifs-tools.org/matomo/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '7']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();