Skip to content

Commit

Permalink
website: integrate google analytics.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Nov 4, 2024
1 parent 0c652db commit 0eddd64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/plugin-google-gtag": "^3.6.0",
"@docusaurus/preset-classic": "^2.3.1",
"@docusaurus/remark-plugin-npm2yarn": "^2.3.1",
"@docusaurus/theme-search-algolia": "^2.3.1",
Expand Down

0 comments on commit 0eddd64

Please sign in to comment.