@nuxtjs/google-gtag
Google GTag for Nuxt.js
📖 Release Notes
Features
The module features
Setup
- Add
@nuxtjs/google-gtag
dependency using yarn or npm to your project - Add
@nuxtjs/google-gtag
to modules
section of nuxt.config.js
{
modules: [
'@nuxtjs/google-gtag',
['@nuxtjs/google-gtag', { }],
]
'google-gtag':{
}
'google-gtag':{
id: 'UA-XXXX-XX',
options:{
anonymize_ip: true
},
debug: true,
}
}
Usage
Module Description
Development
- Clone this repository
- Install dependencies using
yarn install
or npm install
- Start development server using
npm run dev
License
MIT License
Copyright (c) Dominic Garms djgarms@gmail.com