feat: Add analytics
This commit is contained in:
18
index.html
18
index.html
@@ -3,7 +3,6 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<!--This Website was made by Nathan Woodburn https://nathan.woodburn.au -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<title>Home | Woodburn</title>
|
||||
<link rel="canonical" href="https://woodburn.au/">
|
||||
@@ -37,6 +36,21 @@
|
||||
<link rel="stylesheet" href="assets/css/animate.min.css">
|
||||
<link rel="stylesheet" href="assets/css/Contact-Form-Clean.css">
|
||||
<link rel="stylesheet" href="assets/css/index.css">
|
||||
<!-- 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="https://analytics.woodburn.au/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '2']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
||||
<!--This Website was made by Nathan Woodburn https://nathan.woodburn.au -->
|
||||
</head>
|
||||
|
||||
@@ -145,4 +159,4 @@
|
||||
<script src="assets/js/status.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user