🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@txp-cms/google-tagmanager

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@txp-cms/google-tagmanager

Google Tagmanager integration for your Nuxt project.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
3
Created
Source

@txp-cms/google-tagmanager

Google Tagmanager integration for your Nuxt project.

Setup

  • Add @txp-cms/google-tagmanager dependency using yarn to your project
  • Add @txp-cms/google-tagmanager to modules section of nuxt.config.js including your specific Google Tagmanager Container ID.
{
  modules: [
    ['@txp-cms/google-tagmanager', {
      gtmId: process.env.GOOGLE_TAG_MANAGER_ID
    }]
  ]
}

Options

  • gtmId (string): Your personal GTM container id
  • includeInDev (boolean): Decide whether the GTM script shall be loaded in nuxt dev mode, too (default: true)
  • consentManager (string): If set to 'usercentrics' the script will be activated only if enabled in usercentrics
  • scriptId (string): Use custom script id for GTM script
  • noscript (boolean): Include noscript case as well. Default is true,
  • noscriptId (string): Use custom script id for noscript

FAQs

Package last updated on 22 Feb 2022

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