Skip to content

Commit

Permalink
add gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
nialexsan committed Dec 3, 2024
1 parent 76f8fda commit 8382ee3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ const config = {
require.resolve("./src/css/custom.css"),
],
},
...(process.env.GTAG
? {
gtag: {
trackingID: process.env.GTAG,
anonymizeIP: true,
},
}
: {}),
}),
],
],
Expand Down

0 comments on commit 8382ee3

Please sign in to comment.