Add Matomo code
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit is contained in:
parent
8ac55d132a
commit
11b8cd06b3
17
index.html
17
index.html
@ -11,6 +11,23 @@
|
|||||||
<link rel="stylesheet" href="assets/fa/css/all.css">
|
<link rel="stylesheet" href="assets/fa/css/all.css">
|
||||||
<noscript><link rel="stylesheet" href="assets/css/noscript.css"></noscript>
|
<noscript><link rel="stylesheet" href="assets/css/noscript.css"></noscript>
|
||||||
<script>if (location.protocol !== "https:") location.protocol = "https:";</script>
|
<script>if (location.protocol !== "https:") location.protocol = "https:";</script>
|
||||||
|
|
||||||
|
<!-- Matomo -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
var _paq = window._paq || [];
|
||||||
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
|
_paq.push(['trackPageView']);
|
||||||
|
_paq.push(['enableLinkTracking']);
|
||||||
|
(function() {
|
||||||
|
var u="//matomo.tainton.uk/";
|
||||||
|
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||||
|
_paq.push(['setSiteId', '2']);
|
||||||
|
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+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript><p><img src="//matomo.tainton.uk/matomo.php?idsite=2&rec=1" style="border:0;" alt="" /></p></noscript>
|
||||||
|
<!-- End Matomo Code -->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user