Skip to content

Commit 0f6107e

Browse files
Merge pull request #399 from LucasSaintarbor/config-gtag
Add global site tag for Google Analytics
2 parents 8009e25 + c911f33 commit 0f6107e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docusaurus.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ module.exports = {
120120
theme: {
121121
customCss: [require.resolve("./src/css/custom.css")],
122122
},
123-
googleTagManager: {
124-
containerId: 'GTM-57KS2MW',
123+
gtag: {
124+
trackingID: "GTM-57KS2MW", // Global site tag for Google Analytics
125+
anonymizeIP: true,
125126
},
126127
},
127128
],

0 commit comments

Comments
 (0)