suivre le trafic avec matomo

This commit is contained in:
chankalan 2023-02-02 14:12:05 +01:00
parent 574fcd5ce9
commit 079abcbac3

View File

@ -28,3 +28,19 @@
<!-- Script Podlove -->
<script src="/node_modules/@podlove/podlove-web-player/dist/embed.js"></script>
<!-- / Script Podlove -->
<!-- Matomo -->
<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://statistiques.april.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '9']);
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);
})();
</script>
<!-- End Matomo Code -->