forked from rebillar/site-accueil-insa
matomo
This commit is contained in:
parent
fcb0f020ab
commit
932c5b459d
1 changed files with 12 additions and 12 deletions
|
@ -29,23 +29,23 @@ $pagename = $infopage[4]; // nom de la page exact servant à appeler le css
|
|||
<title><?= $pagetitle ?> | INSAT Accueil</title>
|
||||
|
||||
|
||||
<!-- Matomo (analytic) -->
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['disableCookies']);
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//etud.insa-toulouse.fr/~accueil_insa/analytics/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
<!-- 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="//etud.insa-toulouse.fr/~accueil_insa/matomo/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
Loading…
Reference in a new issue