Skip to content

Commit

Permalink
add: google-analytics 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
hzm0321 committed Sep 11, 2022
1 parent 8d0c5df commit 4e28b5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ const config = {
}, theme: {
customCss: require.resolve('./src/css/custom.css'),
},
// googleAnalytics: {
// trackingID: 'G-9WN9XYZ8XQ',
// anonymizeIP: true,
// }
googleAnalytics: {
trackingID: 'G-9WN9XYZ8XQ',
anonymizeIP: true,
}
}),]],

themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand Down

0 comments on commit 4e28b5f

Please sign in to comment.