Add matomo stats
ToDo
After #25 (closed)
-
Create matomo site @cchaudier -
Add matomo : https://github.com/karser/docusaurus-plugin-matomo @julie_thezenas -
Add matomo script @cchaudier -
Add matomo opt-out on privacy page @julie_thezenas (with a title -
add do not track me
badge on footer gérated by forthebadge
Matomo traking infos
To setup Matomo on your system, you may need the following information:
- Matomo URL:
https://stats.esprit-libre-conseil.com/
- ID de votre site :
5
<!-- 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://stats.esprit-libre-conseil.com/";
_paq.push(['setTrackerUrl', u+'m.php']);
_paq.push(['setSiteId', '5']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'m.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="https://stats.esprit-libre-conseil.com/m.php?idsite=5&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
Matomo opt-out
<iframe
style="border: 0; height: 200px; width: 600px;"
src="https://stats.esprit-libre-conseil.com/index.php?module=CoreAdminHome&action=optOut&language=fr&backgroundColor=&fontColor=&fontSize=&fontFamily=">
</iframe>
Ressources
Edited by Julie Thezenas