Skip to content

Commit 784f03f

Browse files
docs: move analytics to preset options
1 parent 739f521 commit 784f03f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎apps/docs-app/docusaurus.config.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ const config = {
176176
theme: {
177177
customCss: require.resolve('./src/css/custom.css'),
178178
},
179+
gtag: {
180+
trackingID: 'G-8S6ZF9V3Q6',
181+
anonymizeIP: true,
182+
},
179183
}),
180184
],
181185
],
@@ -304,10 +308,6 @@ const config = {
304308
apiKey: '650d723674c8cd38658add35fb9433e3',
305309
indexName: 'analogjs',
306310
},
307-
gtag: {
308-
trackingID: 'G-8S6ZF9V3Q6',
309-
anonymizeIP: true,
310-
},
311311
}),
312312
title,
313313
// GitHub Pages adds a trailing slash to Docusaurus URLs by default.

0 commit comments

Comments
 (0)