Skip to content

Commit

Permalink
Fix Gtag
Browse files Browse the repository at this point in the history
  • Loading branch information
ImmaZoni committed Jun 7, 2022
1 parent fe054f0 commit c83daa9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ const config = {
routeBasePath: 'subspacejs',
sidebarPath: require.resolve('./sidebars.js'),
}
],
[
'@docusaurus/plugin-google-gtag',
{
trackingID: 'G-25NWNJB9MR',
anonymizeIP: false,
}
]
],

Expand All @@ -81,11 +88,6 @@ const config = {
changefreq: 'weekly',
priority: 0.5,
},
googleAnalytics: {
trackingID: 'G-25NWNJB9MR',
anonymizeIP: false,

}
}),
],
],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.21",
"@docusaurus/plugin-google-gtag": "^2.0.0-beta.21",
"@docusaurus/plugin-sitemap": "^2.0.0-beta.21",
"@docusaurus/preset-classic": "^2.0.0-beta.21",
"@mdx-js/react": "^1.6.21",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@
"@docusaurus/utils-validation" "2.0.0-beta.21"
tslib "^2.4.0"

"@docusaurus/[email protected]":
"@docusaurus/[email protected]", "@docusaurus/plugin-google-gtag@^2.0.0-beta.21":
version "2.0.0-beta.21"
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.0.0-beta.21.tgz#a4a101089994a7103c1cc7cddb15170427b185d6"
integrity sha512-4zxKZOnf0rfh6myXLG7a6YZfQcxYDMBsWqANEjCX77H5gPdK+GHZuDrxK6sjFvRBv4liYCrNjo7HJ4DpPoT0zA==
Expand Down

0 comments on commit c83daa9

Please sign in to comment.