1.0.1 • Published 5 years ago

vuepress-plugin-google-gtag v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

vuepress-plugin-google-gtag

google global site tag(gtag.js) plugin for vuepress

install

yarn add -D vuepress-plugin-google-gtag
# OR npm install -D vuepress-plugin-google-gtag

Usage

module.exports = {
  plugins: [
    [ 
      'google-gtag', // OR vuepress-plugin-google-gtag
      {
        'ga': '' // UA-00000000-0
      }
    ]  
  ] 
}

Options

ga

  • Type: string
  • Default: undefined

Provide the Google Analytics ID to enable integration.