Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
− | |||
var _paq = window._paq || []; | var _paq = window._paq || []; | ||
_paq.push(['requireConsent']); | _paq.push(['requireConsent']); |
Revision as of 07:54, 10 June 2021
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);
})();