0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -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/module-type-aliases': 2.0.0-beta.14
'@docusaurus/plugin-content-docs': 2.0.0-beta.17 '@docusaurus/plugin-content-docs': 2.0.0-beta.17
'@docusaurus/plugin-google-analytics': 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/preset-classic': 2.0.0-beta.17
'@docusaurus/remark-plugin-npm2yarn': 2.0.0-beta.17 '@docusaurus/remark-plugin-npm2yarn': 2.0.0-beta.17
'@docusaurus/theme-common': 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/core': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76
'@docusaurus/plugin-content-docs': 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-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/preset-classic': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76
'@docusaurus/remark-plugin-npm2yarn': 2.0.0-beta.17 '@docusaurus/remark-plugin-npm2yarn': 2.0.0-beta.17
'@docusaurus/theme-common': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76 '@docusaurus/theme-common': 2.0.0-beta.17_c154e6a3e9fb4d38bf8cbad136484e76

View file

@ -59,7 +59,7 @@ module.exports = {
announcementBar: { announcementBar: {
id: 'announcementBar', id: 'announcementBar',
content: 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, isCloseable: false,
backgroundColor: '#1595de', backgroundColor: '#1595de',
textColor: '#ffffff', textColor: '#ffffff',
@ -219,6 +219,9 @@ module.exports = {
googleAnalytics: { googleAnalytics: {
trackingID: 'UA-2527438-21' trackingID: 'UA-2527438-21'
}, },
gtag: {
trackingID: 'G-PCYM9FYJZT',
},
blog: { blog: {
blogTitle: 'Verdaccio Official Blog', blogTitle: 'Verdaccio Official Blog',
blogDescription: 'The official Verdaccio NPM proxy registry 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/remark-plugin-npm2yarn": "2.0.0-beta.17",
"@docusaurus/theme-search-algolia": "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-content-docs": "2.0.0-beta.17",
"@docusaurus/plugin-google-gtag": "2.0.0-beta.17",
"@docusaurus/theme-common": "2.0.0-beta.17", "@docusaurus/theme-common": "2.0.0-beta.17",
"@material-ui/core": "^4.11.2", "@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2", "@material-ui/icons": "^4.11.2",