Skip to content

Commit 22fd43d

Browse files
committed
Replaced GTAG with Google Tag Manager
1 parent beb082b commit 22fd43d

File tree

4 files changed

+367
-6
lines changed

4 files changed

+367
-6
lines changed

docusaurus.config.en.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ const config = {
167167
theme: {
168168
customCss: [require.resolve("./src/css/custom.scss")],
169169
},
170-
gtag: {
171-
trackingID: "G-KF1LLRTQ5Q",
170+
googleTagManager: {
171+
containerId: 'GTM-WTNTDT7W',
172172
},
173173
}),
174174
],

docusaurus.config.jp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ const config = {
149149
theme: {
150150
customCss: [require.resolve("./src/css/custom.scss")],
151151
},
152-
gtag: {
153-
trackingID: "G-KF1LLRTQ5Q",
152+
googleTagManager: {
153+
containerId: 'GTM-WTNTDT7W',
154154
},
155155
}),
156156
],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@docusaurus/core": "3.7.0",
3131
"@docusaurus/faster": "^3.7.0",
3232
"@docusaurus/plugin-client-redirects": "^3.7.0",
33+
"@docusaurus/plugin-google-tag-manager": "^3.7.0",
3334
"@docusaurus/plugin-vercel-analytics": "^3.7.0",
3435
"@docusaurus/preset-classic": "3.7.0",
3536
"@docusaurus/theme-mermaid": "3.7.0",

0 commit comments

Comments
 (0)