0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

chore: enable google analytics 4, testing the id

This commit is contained in:
Juan Picado 2022-03-24 22:50:28 +01:00
parent 5a6bf953a7
commit c77d03018e
3 changed files with 7 additions and 1 deletions

View file

@ -1292,6 +1292,7 @@ importers:
'@docusaurus/module-type-aliases': 2.0.0-beta.14
'@docusaurus/plugin-content-docs': 2.0.0-beta.17
'@docusaurus/plugin-google-analytics': 2.0.0-beta.17
'@docusaurus/plugin-google-gtag': 2.0.0-beta.17
'@docusaurus/preset-classic': 2.0.0-beta.17
'@docusaurus/remark-plugin-npm2yarn': 2.0.0-beta.17
'@docusaurus/theme-common': 2.0.0-beta.17
@ -1320,6 +1321,7 @@ importers:
'@docusaurus/core': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76
'@docusaurus/plugin-content-docs': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76
'@docusaurus/plugin-google-analytics': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76
'@docusaurus/plugin-google-gtag': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76
'@docusaurus/preset-classic': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76
'@docusaurus/remark-plugin-npm2yarn': 2.0.0-beta.17
'@docusaurus/theme-common': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76

View file

@ -59,7 +59,7 @@ module.exports = {
announcementBar: {
id: 'announcementBar',
content:
'<a target="_blank" rel="noopener noreferrer" href="https://donate.redcrossredcrescent.org/ua/donate/~my-donation?_cv=1">You could help provide humanitarian support to Ukraine refugees, click here</a>!',
'<a target="_blank" rel="noopener noreferrer" href="https://donate.redcrossredcrescent.org/ua/donate/~my-donation?_cv=1">Help provide humanitarian support to Ukraine refugees</a>!',
isCloseable: false,
backgroundColor: '#1595de',
textColor: '#ffffff',
@ -219,6 +219,9 @@ module.exports = {
googleAnalytics: {
trackingID: 'UA-2527438-21'
},
gtag: {
trackingID: 'G-PCYM9FYJZT',
},
blog: {
blogTitle: 'Verdaccio Official Blog',
blogDescription: 'The official Verdaccio NPM proxy registry blog',

View file

@ -27,6 +27,7 @@
"@docusaurus/remark-plugin-npm2yarn": "2.0.0-beta.17",
"@docusaurus/theme-search-algolia": "2.0.0-beta.17",
"@docusaurus/plugin-content-docs": "2.0.0-beta.17",
"@docusaurus/plugin-google-gtag": "2.0.0-beta.17",
"@docusaurus/theme-common": "2.0.0-beta.17",
"@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2",