Matomo Analytics.

This commit is contained in:
clive
2025-04-18 18:21:28 +10:00
parent 602467349e
commit a4120e0943

View File

@@ -12,7 +12,23 @@
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/css/carousel.css" asp-append-version="true" /> <link rel="stylesheet" href="~/css/carousel.css" asp-append-version="true" />
<link rel="stylesheet" href="~/clivelancaster.styles.css" asp-append-version="true" /> <link rel="stylesheet" href="~/clivelancaster.styles.css" asp-append-version="true" />
<script defer data-domain="clivelancaster.com" src="https://analytics.rokoh.com/js/script.js"></script>
<!-- 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="//analytics.rokoh.com/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '6']);
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 -->
<link rel="icon" type="image/x-icon" href='@Url.Content("~/favicon.ico")'> <link rel="icon" type="image/x-icon" href='@Url.Content("~/favicon.ico")'>
</head> </head>
<body> <body>