Socket
Socket
Sign inDemoInstall

@nuxtjs/google-gtag

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/google-gtag

Google GTag for Nuxt.js


Version published
Weekly downloads
8K
increased by0.49%
Maintainers
1
Weekly downloads
 
Created
Source

@nuxtjs/google-gtag

npm (scoped with tag) npm CircleCI Codecov Dependencies js-standard-style

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: [
    // Simple usage
    '@nuxtjs/google-gtag',

    // With options
    ['@nuxtjs/google-gtag', { /* module options */ }],
    
    
 ]
 // alternative also as
 'google-gtag':{
   // your options
 }
 
 
 // example config
 'google-gtag':{
   id: 'UA-XXXX-XX',
   options:{
     anonymize_ip: true
   },
   debug: true,
   // disableRouter:true // => by default router is enabled by default
 }
}

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

FAQs

Package last updated on 11 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc