Skip to content

Commit 099c548

Browse files
committed
Adds Google Analytics. Closes #4792
1 parent 6efc818 commit 099c548

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/docusaurus.config.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ const config = {
2929
plugins: [
3030
'docusaurus-plugin-sass',
3131
[
32-
'docusaurus-node-polyfills', { excludeAliases: ['console']}
32+
'docusaurus-node-polyfills',
33+
{
34+
excludeAliases: ['console']
35+
}
3336
]
3437
],
3538

@@ -47,6 +50,10 @@ const config = {
4750
blog: false,
4851
theme: {
4952
customCss: require.resolve('./src/scss/Global.module.scss'),
53+
},
54+
gtag: {
55+
trackingID: 'G-DH3T88LK5K',
56+
anonymizeIP: true
5057
}
5158
})
5259
]

0 commit comments

Comments
 (0)