@gridsome/plugin-google-analytics
v0.1.2
Published
Google Analytics plugin for Gridsome
Downloads
2,201
Maintainers
Readme
@gridsome/plugin-google-analytics
Google Analytics plugin for Gridsome
See VueAnalytics for possible options.
Install
yarn add @gridsome/plugin-google-analytics
npm install @gridsome/plugin-google-analytics
Usage
Add the below config in your gridsome.config.js
module.exports = {
plugins: [
{
use: '@gridsome/plugin-google-analytics',
options: {
id: 'UA-XXXXXXXXX-X'
}
}
]
}