umi-plugin-ga
v1.1.8
Published
Google Analytics for umi
Downloads
2,320
Maintainers
Readme
umi-plugin-ga
Umi plugin to support google analytics
use
install
yarn add umi-plugin-ga
config
export default {
plugins: [
[
.....
],
[
'umi-plugin-ga',
{
code: 'google analytics code',
judge: ()=>true // true or false
},
],
],
.....
}