Skip to content

Commit d3fc921

Browse files
committed
feat: add google analytics
1 parent a4d9812 commit d3fc921

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

_config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,8 @@ theme_config:
109109
## Docs: https://hexo.io/docs/one-command-deployment
110110
deploy:
111111
type: ''
112+
113+
analytics:
114+
google_analytics:
115+
enable: true
116+
measurement_id: G-QE7KV2SLXB

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"esbuild": "^0.24.1",
1616
"glob": "^11.0.0",
1717
"hexo": "^7.3.0",
18+
"hexo-analytics": "^0.1.1",
1819
"hexo-generator-archive": "^2.0.0",
1920
"hexo-generator-category": "^2.0.0",
2021
"hexo-generator-index": "^4.0.0",

pnpm-lock.yaml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)