vuepress-plugin-google-gtag

1.0.1 • Public • Published

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.

/vuepress-plugin-google-gtag/

    Package Sidebar

    Install

    npm i vuepress-plugin-google-gtag

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • iiiwwj