generated from ElnuDev/go-project
Add tracking
This commit is contained in:
parent
3a7d33203b
commit
9bd8c0a79b
1 changed files with 15 additions and 0 deletions
|
@ -8,6 +8,21 @@
|
|||
<link rel="stylesheet" href="https://unpkg.com/missing.css@1.0.9/dist/missing.min.css">
|
||||
<link rel="stylesheet" href="/overrides.css">
|
||||
<script src="https://unpkg.com/htmx.org@1.9.3"></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="https://matomo.elnu.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 -->
|
||||
</head>
|
||||
<body hx-boost="true">
|
||||
<main>
|
||||
|
|
Reference in a new issue