Skip to content

Commit d9e5f99

Browse files
Merge pull request #771 from AvaloniaUI/luke-google-analytics
Add G tag
2 parents 6fede3a + ef9b4ea commit d9e5f99

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docusaurus.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ const config = {
191191
editLocalizedFiles: true,
192192
},
193193
],
194+
[
195+
'@docusaurus/plugin-google-gtag',
196+
{
197+
trackingID: 'G-999X9XX9XX',
198+
anonymizeIP: true,
199+
},
200+
],
194201
],
195202
themeConfig:
196203
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
@@ -284,4 +291,3 @@ const config = {
284291
};
285292

286293
module.exports = config;
287-

0 commit comments

Comments
 (0)