Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Latest commit

 

History

History

vuepress-plugin-google-gtag

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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.