0.1.2 • Published 5 years ago

@gridsome/plugin-google-analytics v0.1.2

Weekly downloads
3,002
License
MIT
Repository
github
Last release
5 years ago

@gridsome/plugin-google-analytics

Google Analytics plugin for Gridsome

See VueAnalytics for possible options.

Install

  • yarn add @gridsome/plugin-google-analytics
  • npm install @gridsome/plugin-google-analytics

Usage

Add the below config in your gridsome.config.js

module.exports = {
  plugins: [
    {
      use: '@gridsome/plugin-google-analytics',
      options: {
        id: 'UA-XXXXXXXXX-X'
      }
    }
  ]
}