diff options
| author | Eltrac <hi@guhub.cn> | 2024-12-12 13:21:45 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2024-12-12 13:21:45 +0800 |
| commit | d25fabaae23db521a4c0478d89d112614ab29ce8 (patch) | |
| tree | 1871617aaf6f713c8aeef290c3d0bb8260c55d91 | |
| parent | 7fad06e3f7d79035391e2858db5e75c73af1ea95 (diff) | |
chore(web): switch to umami analytics
| -rw-r--r-- | themes/yinyang/layouts/partials/scripts.html | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/themes/yinyang/layouts/partials/scripts.html b/themes/yinyang/layouts/partials/scripts.html index 1e6768bb..0624d766 100644 --- a/themes/yinyang/layouts/partials/scripts.html +++ b/themes/yinyang/layouts/partials/scripts.html @@ -1,8 +1,5 @@ -<!-- Vercel Analytics --> -<script> - window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); }; -</script> -<script defer src="/_vercel/insights/script.js"></script> +<!-- Umami --> +<script defer src="https://cloud.umami.is/script.js" data-website-id="ae8c2619-56eb-4577-ac31-9dc6ea44bda7"></script> <!-- Swup --> <script src="https://unpkg.com/swup@4"></script> @@ -11,6 +8,6 @@ const swup = new Swup(); swup.hooks.on('page:view', (visit) => { - {{ partial "snippets/waline-init.html" . | safeJS }} + {{ partial "snippets/waline-init.html" . | safeJS }} }); -</script>
\ No newline at end of file +</script> |
