Skip to content

Commit cc48121

Browse files
committed
add privacy-respecting metrics to help get a sense of how popular this project is
1 parent f8ea176 commit cc48121

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@
2424
p { font-size: 1.2em; max-width: 600px; text-align: center; }
2525
a { text-decoration: none; color: #007acc; }
2626
</style>
27+
<!-- Matomo -->
28+
<script>
29+
var _paq = window._paq = window._paq || [];
30+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
31+
_paq.push(['trackPageView']);
32+
_paq.push(['enableLinkTracking']);
33+
(function () {
34+
var u = "//analytics.adriancedwards.com/";
35+
_paq.push(['setTrackerUrl', u + 'matomo.php']);
36+
_paq.push(['setSiteId', '20']);
37+
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
38+
g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
39+
})();
40+
</script>
41+
<!-- End Matomo Code -->
2742
</head>
2843
<body>
2944
<img class="logo" src="logo.svg" />

0 commit comments

Comments
 (0)