Skip to content

Commit 577b504

Browse files
committed
集成 Cloudflare Web Analytics 实现访问统计功能
1 parent 82125ef commit 577b504

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docusaurus.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ module.exports = {
1212
organizationName: 'xrobot-org',
1313
projectName: 'xrobot-org.github.io',
1414

15+
scripts: [
16+
{
17+
src: 'https://static.cloudflareinsights.com/beacon.min.js',
18+
defer: true,
19+
'data-cf-beacon': '{"token": "8659aca76cfa4141bdd852a2f5652c32"}',
20+
},
21+
],
22+
1523
i18n: {
1624
defaultLocale: 'zh',
1725
locales: ['en', 'zh'],

0 commit comments

Comments
 (0)