Added umami tracking (instead of ga)

This commit is contained in:
Mattia Mascarello 2024-11-14 22:40:10 +01:00
parent 373ff731a6
commit f5f6dcb736
3 changed files with 8 additions and 9 deletions

View File

@ -17,19 +17,13 @@
<meta property="og:description" content="Mattia Mascarello's personal website" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://mattiaturin.duckdns.org/images/portrait.jpg" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6WNMM3QFPW"></script>
<!-- Local umami analytics -->
<script defer src="https://umami.mattiaturin.duckdns.org/script.js"
data-website-id="5094aab8-a629-4939-a572-0f3dc6042c12"></script>
<link rel="apple-touch-icon" sizes="180x180" href="../images/fav/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../images/fav/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../images/fav/favicon-16x16.png">
<link rel="manifest" href="../images/fav/site.webmanifest">
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-6WNMM3QFPW');
</script>
</head>
<body>

View File

@ -34,6 +34,8 @@
<link rel="icon" type="image/png" sizes="32x32" href="images/fav/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/fav/favicon-16x16.png">
<link rel="manifest" href="images/fav/site.webmanifest">
<!-- Local umami analytics -->
<script defer src="https://umami.mattiaturin.duckdns.org/script.js" data-website-id="5094aab8-a629-4939-a572-0f3dc6042c12"></script>
<noscript>
<!-- Let's be friendly to javascript-disabled users -->
<link rel="stylesheet" href="nojs.css">

View File

@ -11,6 +11,9 @@
<meta property="og:title" content="Lettera aperta al rettore dell'Università di Torino" />
<meta property="og:description" content="Lettera aperta al rettore dell'Università di Torino" />
<meta property="og:type" content="website" />
<!-- Local umami analytics -->
<script defer src="https://umami.mattiaturin.duckdns.org/script.js"
data-website-id="5094aab8-a629-4939-a572-0f3dc6042c12"></script>
<style>
body {
max-width: 85vw;