Skip to content

Commit

Permalink
docs: add cloudflare analytics script
Browse files Browse the repository at this point in the history
  • Loading branch information
p-m-p committed Dec 24, 2024
1 parent 61f4563 commit b57ac0a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ const config: Config = {
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',

scripts: [
{
src: 'https://static.cloudflareinsights.com/beacon.min.js',
defer: true,
'data-cf-beacon': '{"token": "86e36e0634bb461e84a1b6a61f287b46"}',
},
],

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
Expand Down

0 comments on commit b57ac0a

Please sign in to comment.