Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/gtm

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/gtm - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [2.2.2](https://github.com/nuxt-community/gtm-module/compare/v2.2.1...v2.2.2) (2020-02-25)
### Bug Fixes
* always render noscript block ([a921b42](https://github.com/nuxt-community/gtm-module/commit/a921b4235a77562e52f0aaf4b62fe2c4023d91e0))
### [2.2.1](https://github.com/nuxt-community/gtm-module/compare/v2.2.0...v2.2.1) (2020-02-24)

@@ -7,0 +14,0 @@

2

lib/module.js

@@ -62,3 +62,3 @@ const path = require('path')

const renderIframe = id => `<iframe src="${options.noscriptURL + '?id=' + id + '&' + queryString}" height="0" width="0" style="display:none;visibility:hidden" title="gtm"></iframe>`
if (options.noscript && options.id) {
if (options.noscript) {
this.options.head.noscript = this.options.head.noscript || []

@@ -65,0 +65,0 @@ this.options.head.noscript.push({

{
"name": "@nuxtjs/gtm",
"version": "2.2.1",
"version": "2.2.2",
"description": "Google Tag Manager Module for Nuxt.js",

@@ -5,0 +5,0 @@ "repository": "nuxt-community/gtm-module",

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