@kriya/gridsome-plugin-google-analytics
v0.1.2
Published
Google Analytics plugin for Gridsome
Downloads
1
Maintainers
Readme
@gridsome/plugin-google-analytics
Google Analytics plugin for Gridsome
See VueAnalytics for possible options.
Install
npm install @gridsome/plugin-google-analytics
yarn add @gridsome/plugin-google-analytics
pnpm 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'
}
}
]
}