Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 409 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 409 Bytes

Google Tag Manager for Gridsome

See Vue Google Tag Manager for other options.

Install

  • npm install gridsome-plugin-gtm --save
  • yarn add gridsome-plugin-gtm

Usage

module.exports = {
  plugins: [
    {
      use: 'gridsome-plugin-gtm',
      options: {
        id: 'GTM-XXXXXXX',
        enabled: true,
        debug: true
      }
    }
  ]
}