summaryrefslogtreecommitdiff
path: root/static
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 /static
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 'static')
-rw-r--r--static/_headers1
-rw-r--r--static/graph.html2
2 files changed, 0 insertions, 3 deletions
diff --git a/static/_headers b/static/_headers
index a96d80e5..2ef3aaa3 100644
--- a/static/_headers
+++ b/static/_headers
@@ -2,7 +2,6 @@
Content-Security-Policy:
script-src 'self'
https://remark.guhub.cn
- https://umami.guhub.cn
https://static.cloudflareinsights.com
'unsafe-inline'
'unsafe-eval';
diff --git a/static/graph.html b/static/graph.html
index d122b049..9cc77cbc 100644
--- a/static/graph.html
+++ b/static/graph.html
@@ -17,7 +17,6 @@
border: 1px solid #444;
}
</style>
- <script defer src="https://umami.guhub.cn/script.js" data-website-id="3bec51b2-739f-4a79-b030-ad2511d6f5a7"></script>
</head>
<body>
<div id="graph"></div>
@@ -72,7 +71,6 @@
const node = nodes.get(params.nodes[0]);
if (node.url) {
window.open(node.url, "_blank");
- umami.track('Visit page through Graph')
}
}
});