Skip to content

Commit 73a87d7

Browse files
committed
Added Matomo analytics in the front page
1 parent 8ffa067 commit 73a87d7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@
99
<link rel="icon" type="image/x-icon" href="favicon.ico">
1010
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
1111
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
12+
<!-- Matomo -->
13+
<script type="text/javascript">
14+
var _paq = window._paq = window._paq || [];
15+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
16+
_paq.push(['trackPageView']);
17+
_paq.push(['enableLinkTracking']);
18+
(function() {
19+
var u="//www.piw.geekitude.com/matomo/";
20+
_paq.push(['setTrackerUrl', u+'matomo.php']);
21+
_paq.push(['setSiteId', '1']);
22+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
23+
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
24+
})();
25+
</script>
26+
<!-- End Matomo Code -->
1227
</head>
1328

1429
<body>

0 commit comments

Comments
 (0)