suivre le trafic avec Matomo

This commit is contained in:
chankalan 2023-02-02 14:05:25 +01:00
parent 09372254d8
commit 3f7ac100f5
2 changed files with 17 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<paquet <paquet
prefix="libreavous" prefix="libreavous"
categorie="squelette" categorie="squelette"
version="1.3.6" version="1.3.7"
schema="0.1.11" schema="0.1.11"
etat="stable" etat="stable"
compatibilite="[3.2.8;4.1.*]" compatibilite="[3.2.8;4.1.*]"

View File

@ -28,3 +28,19 @@
<!-- Script Podlove --> <!-- Script Podlove -->
<script src="/node_modules/@podlove/podlove-web-player/dist/embed.js"></script> <script src="/node_modules/@podlove/podlove-web-player/dist/embed.js"></script>
<!-- / Script Podlove --> <!-- / 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 -->