summaryrefslogtreecommitdiff
path: root/layouts/_partials/head
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-09-28 11:34:33 +0800
committerEltrac <hi@guhub.cn>2025-09-28 11:34:33 +0800
commit99deb4bd1c115b5b11f3632ca57ccc4d41fb3ee9 (patch)
treee2f80de07073e43f5a86da381fb1af2470455854 /layouts/_partials/head
parent13314f3fc50484c3c6c628627fe49053a8284599 (diff)
remove: umami web analytics integration
Stopped tracking visitors because I realized that: 1. It's no necessary for personal blogs to analyze user behaviors, 2. Checking pageviews on a daily basis really messed up my mental health.
Diffstat (limited to 'layouts/_partials/head')
-rw-r--r--layouts/_partials/head/umami.html11
1 files changed, 0 insertions, 11 deletions
diff --git a/layouts/_partials/head/umami.html b/layouts/_partials/head/umami.html
deleted file mode 100644
index 881b34c6..00000000
--- a/layouts/_partials/head/umami.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!-- Umami Tracking -->
-<script>
- if (window.location.hostname !== 'localhost') {
- // track traffic
- const script = document.createElement('script');
- script.defer = true;
- script.src = 'https://umami.guhub.cn/script.js';
- script.dataset.websiteId = '3bec51b2-739f-4a79-b030-ad2511d6f5a7';
- document.head.appendChild(script);
- }
-</script>