Files
plugins/GoogleAnalytics/README.md
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

18 lines
488 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Typecho-GoogleAnalytics-Plugin
一个异步加载GA的Typecho插件
下载后复制`GoogleAnalytics`文件夹到`plugins`
在后台安装后,填入你的 跟踪 ID 即可
如果你使用了Pjax加载在Pjax回调填入
```javascript
ga(window,document,navigator,location);
```
即可统计全站
----
> GA PHP代码来自 [Google-Analytics-Async](https://github.com/stneng/Google-Analytics-Async)
> 异步代码来自 [CommentToMail](https://github.com/visamz/CommentToMail)