Skip to content

Commit 90f16e6

Browse files
authored
Merge pull request #5 from CodeHarborHub/dev-2
added google-tag-manager
2 parents 380857f + ca9ebf3 commit 90f16e6

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

docusaurus.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,13 @@ const config = {
316316
containerId: 'GTM-MLJNRGC9',
317317
},
318318
],
319+
[
320+
'@docusaurus/plugin-google-gtag',
321+
{
322+
trackingID: 'G-8QK6Y7QDCB',
323+
anonymizeIP: true,
324+
},
325+
],
319326
[
320327
"@docusaurus/plugin-pwa",
321328
{

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dependencies": {
1717
"@docusaurus/core": "^3.2.1",
1818
"@docusaurus/plugin-content-pages": "^3.2.1",
19+
"@docusaurus/plugin-google-gtag": "^3.2.1",
1920
"@docusaurus/plugin-google-tag-manager": "^3.2.1",
2021
"@docusaurus/plugin-ideal-image": "^3.2.1",
2122
"@docusaurus/plugin-pwa": "^3.2.1",

0 commit comments

Comments
 (0)