matomo sur librealire

This commit is contained in:
chankalan 2021-02-24 11:38:12 +01:00
parent 44b17e007e
commit c9bb5ace83
2 changed files with 43 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<paquet
prefix="librealire"
categorie="squelette"
version="0.6.2"
version="0.6.3"
schema="0.5.3"
etat="stable"
compatibilite="[3.2.7;3.3.*]"

View File

@ -0,0 +1,42 @@
[(#REM)
Head standard de toutes les pages ; les elements specifiques
(title, description) figurent dans le squelette article.html
]
<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
#INSERT_HEAD_CSS
#INSERT_HEAD
[<link rel="stylesheet" href="(#CSS{css/spip.css})" type="text/css" />]
[<link rel="stylesheet" href="(#CSS{css/media.css})" type="text/css" />]
[(#REM) Thème SCSS du plugin ]
[<link rel="stylesheet" href="(#CSS{scss/baz_fonts.css})" type="text/css" />]
[<link rel="stylesheet" href="(#CSS{scss/theme.css})" type="text/css" />]
[<link rel="stylesheet" href="(#CSS{css/perso.css})" type="text/css" />]
[(#REM) scripts génériques ]
[<script type="text/javascript" src="(#CHEMIN{javascript/script.js}|timestamp)"></script>]
[<script type="text/javascript" src="(#CHEMIN{javascript/perso.js}|timestamp)"></script>]
[(#REM) flux RSS ]
[<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:/>" href="(#URL_PAGE{backend}|url_absolue)" />]
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//statistiques.april.org/";
_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);
})();
</script>
<!-- End Matomo Code -->