Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website: integrate google analytics. #4629

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const config = {
'@docusaurus/preset-classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
gtag: {
trackingID: 'G-2Z5WTH61Y3',
anonymizeIP: true,
},
blog: {
path: 'blog',
// Simple use-case: string editUrl
Expand Down
13 changes: 7 additions & 6 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,20 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"@docusaurus/core": "^3.0.0",
"@docusaurus/plugin-google-gtag": "^3.6.0",
"@docusaurus/preset-classic": "^3.0.0",
"@docusaurus/remark-plugin-npm2yarn": "^2.3.1",
"@docusaurus/theme-search-algolia": "^2.3.1",
"@mdx-js/react": "^1.6.21",
"@mdx-js/react": "^3.0.0",
"@percy/cli": "^1.17.0",
"clsx": "^1.1.1",
"docusaurus": "^1.14.7",
"docusaurus-plugin-sass": "^0.2.3",
"file-loader": "^6.2.0",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"prism-react-renderer": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-loader-spinner": "^5.3.4",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
Expand Down
Loading