Skip to content

Commit 4ba4a07

Browse files
committed
Fix Google Analytics and Sentry configuration
1 parent 675af94 commit 4ba4a07

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docusaurus.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ const config: Config = {
7575
theme: {
7676
customCss: './src/css/custom.css',
7777
},
78+
gtag: {
79+
trackingID: 'G-4G4NJBHVNF',
80+
anonymizeIP: true,
81+
},
7882
} satisfies Preset.Options,
7983
],
8084
],
@@ -83,7 +87,7 @@ const config: Config = {
8387
[
8488
'docusaurus-plugin-sentry',
8589
{
86-
DSN: 'https://c928d425f7cf44cab41620de8f31fe57@o4508898407481344.ingest.us.sentry.io/4508935235698688',
90+
DSN: 'c928d425f7cf44cab41620de8f31fe57@o4508898407481344.ingest.us.sentry.io/4508935235698688',
8791
allEnvironments: false, // Only enable in production
8892
configuration: {
8993
script: {
@@ -97,10 +101,6 @@ const config: Config = {
97101
themeConfig: {
98102
// Replace with your project's social card
99103
image: 'img/docusaurus-social-card.jpg',
100-
gtag: {
101-
trackingID: 'G-4G4NJBHVNF',
102-
anonymizeIP: true,
103-
},
104104
navbar: {
105105
title: 'MyCoder Docs',
106106
items: [

0 commit comments

Comments
 (0)