vittominacori / vuepress-plugin-gtag

Google Tag plugin for VuePress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Tag plugin for VuePress

Warning

DO NOT USE IN PRODUCTION. This is not a published package. This plugin uses localStorage to check previous stored consent and set the default values for Google Tag on Vuepress v1.x. If you want to use it in production please test within your environment.

Install

"dependencies": {
  ...
  "vuepress-plugin-gtag": "vittominacori/vuepress-plugin-gtag",
  ...
},

Usage

module.exports = {
  plugins: [
    'vuepress-plugin-gtag': { 
        gtagId: '123456789',
    },

    // other plugins
    // ...
  ],
}

License

Code released under the MIT License.

About

Google Tag plugin for VuePress

License:MIT License


Languages

Language:JavaScript 100.0%