Skip to content

Commit

Permalink
Add gtag tracking to docs website (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
czgu authored Jan 21, 2021
1 parent d49982e commit 5b70894
Show file tree
Hide file tree
Showing 30 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 4 additions & 1 deletion docs_website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
docs: {
showLastUpdateAuthor: true,
showLastUpdateTime: true,
path: '../docs',
path: 'docs',
routeBasePath: 'docs',
sidebarPath: './sidebars.json',
},
Expand Down Expand Up @@ -100,5 +100,8 @@ module.exports = {
],
copyright: `Copyright © ${new Date().getFullYear()} Pinterest. Built with Docusaurus.`,
},
gtag: {
trackingID: 'G-ZV2Q3M58R9',
},
},
};
1 change: 1 addition & 0 deletions docs_website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"rename-version": "docusaurus-rename-version",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve",
"docusaurus": "docusaurus"
},
"devDependencies": {},
Expand Down

0 comments on commit 5b70894

Please sign in to comment.