Skip to content

Commit a94307c

Browse files
feat: add Google Analytics (GA4) tracking
1 parent cfaf121 commit a94307c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docusaurus.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ const config = {
6464
onInlineAuthors: 'warn',
6565
onUntruncatedBlogPosts: 'warn',
6666
},
67+
gtag: {
68+
trackingID: 'G-B9BLWH9Q3D',
69+
anonymizeIP: true,
70+
},
6771
theme: {
6872
customCss: './src/css/custom.css',
6973
},

0 commit comments

Comments
 (0)