0.2.0 • Published 1 year ago

@zuckersalzundpfeffer/gridsome-plugin-google-analytics v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@gridsome/plugin-google-analytics

Google Analytics plugin for Gridsome

See VueAnalytics for possible options.

Install

  • npm install @gridsome/plugin-google-analytics
  • yarn add @gridsome/plugin-google-analytics
  • pnpm 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'
      }
    }
  ]
}