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

fix website google analytics (#2772)

This commit is contained in:
Diana Morales 2021-12-14 13:28:51 +01:00 committed by GitHub
parent 128cd6898d
commit 02c5e76eec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,9 +66,6 @@ module.exports = {
indexName: 'verdaccio', indexName: 'verdaccio',
contextualSearch: true contextualSearch: true
}, },
googleAnalytics: isProductionDeployment ? {
trackingID: 'UA-2527438-21'
} : undefined,
navbar: { navbar: {
title: `Verdaccio - v${pkgJson.version}`, title: `Verdaccio - v${pkgJson.version}`,
logo: { logo: {
@ -215,6 +212,9 @@ module.exports = {
return `https://github.com/verdaccio/verdaccio/edit/master/website/docs/${docPath}`; return `https://github.com/verdaccio/verdaccio/edit/master/website/docs/${docPath}`;
}, },
}, },
googleAnalytics: {
trackingID: 'UA-2527438-21'
},
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',