Add Google Analytics

This commit is contained in:
Thog 2020-04-02 13:36:09 +02:00
parent d0a3632345
commit 0a453cfed9
2 changed files with 8 additions and 1 deletions

View file

@ -24,7 +24,13 @@ module.exports = {
exclude: [], exclude: [],
config: {} config: {}
} }
} },
{
use: '@gridsome/plugin-google-analytics',
options: {
id: 'UA-162558184-1'
}
},
], ],
css: { css: {
loaderOptions: { loaderOptions: {

View file

@ -11,6 +11,7 @@
}, },
"dependencies": { "dependencies": {
"@babel/polyfill": "^7.8.7", "@babel/polyfill": "^7.8.7",
"@gridsome/plugin-google-analytics": "^0.1.0",
"core-js": "^3.6.4", "core-js": "^3.6.4",
"gridsome": "^0.7.13", "gridsome": "^0.7.13",
"vuetify": "^2.2.18" "vuetify": "^2.2.18"