1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-14 09:03:15 +00:00

Analytics: measure the landing pages, which were invisible

The app has Clarity, but the four landing pages loaded no script at all, so
their traffic never appeared anywhere except Search Console — and those are the
pages built to rank.

Adds a self-hosted Umami (K8s namespace umami, the shared Postgres, TLS
terminated at NPM). Cookieless, so no consent banner, and served from our own
domain, which matters for an audience of developers: this homelab's own Pihole
resolves clarity.ms to 0.0.0.0, and the people using the site block trackers at
the same rate, so Clarity is very likely undercounting.

Note this does not replace Search Console: neither Umami nor Clarity can see
search queries, and the keyword data was already there unused.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KZntQUfw463NW4ftgSjWw5
This commit is contained in:
2026-08-05 18:42:36 +00:00
parent 3682d35cb4
commit 864a5da6a4
5 changed files with 16 additions and 1 deletions
+4 -1
View File
@@ -284,7 +284,10 @@
window.addEventListener("load", scheduleAdsense, { once: true });
}
</script>
</head>
<!-- Umami: self-hosted, cookieless. The landing pages had no analytics at
all, so their traffic was invisible outside Search Console. -->
<script defer src="https://umami.alexandre-vazquez.cloud/script.js" data-website-id="043e327b-723e-4efd-9ac9-46589219c706"></script>
</head>
<body>
<div id="root">
<div class="app-shell" role="status" aria-live="polite">
+3
View File
@@ -197,6 +197,9 @@
.ea-slot .ethical-ad { max-width: 100%; }
</style>
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
<!-- Umami: self-hosted, cookieless. The landing pages had no analytics at
all, so their traffic was invisible outside Search Console. -->
<script defer src="https://umami.alexandre-vazquez.cloud/script.js" data-website-id="043e327b-723e-4efd-9ac9-46589219c706"></script>
</head>
<body>
<header>
+3
View File
@@ -197,6 +197,9 @@
.ea-slot .ethical-ad { max-width: 100%; }
</style>
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
<!-- Umami: self-hosted, cookieless. The landing pages had no analytics at
all, so their traffic was invisible outside Search Console. -->
<script defer src="https://umami.alexandre-vazquez.cloud/script.js" data-website-id="043e327b-723e-4efd-9ac9-46589219c706"></script>
</head>
<body>
<header>
+3
View File
@@ -163,6 +163,9 @@
.ea-slot .ethical-ad { max-width: 100%; }
</style>
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
<!-- Umami: self-hosted, cookieless. The landing pages had no analytics at
all, so their traffic was invisible outside Search Console. -->
<script defer src="https://umami.alexandre-vazquez.cloud/script.js" data-website-id="043e327b-723e-4efd-9ac9-46589219c706"></script>
</head>
<body>
<header>
+3
View File
@@ -183,6 +183,9 @@
.ea-slot .ethical-ad { max-width: 100%; }
</style>
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
<!-- Umami: self-hosted, cookieless. The landing pages had no analytics at
all, so their traffic was invisible outside Search Console. -->
<script defer src="https://umami.alexandre-vazquez.cloud/script.js" data-website-id="043e327b-723e-4efd-9ac9-46589219c706"></script>
</head>
<body>
<header>