chore: add google analytics.

This commit is contained in:
小弟调调
2025-07-11 02:39:37 +08:00
parent 899d85223d
commit 3c5578a2f3
3 changed files with 11 additions and 1 deletions

View File

@@ -686,3 +686,12 @@ $ open dist/index.html # 在浏览器打开生成 HTML
MIT © [Kenny Wong](https://github.com/jaywcjlove)
<!--rehype:ignore:end-->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-9MWEWXSDQK"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-9MWEWXSDQK');
</script>