gatsby-plugin-google-tagmanager
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -22,3 +22,3 @@ "use strict"; | ||
if (process.env.NODE_ENV === "production") { | ||
if (process.env.NODE_ENV === "production" || pluginOptions.includeInDevelopment) { | ||
setHeadComponents([_react2.default.createElement("script", { | ||
@@ -25,0 +25,0 @@ key: "plugin-google-tagmanager", |
{ | ||
"name": "gatsby-plugin-google-tagmanager", | ||
"description": "Gatsby plugin to add google tagmanager onto a site", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"author": "Thijs Koerselman <thijs@vauxlab.com>", | ||
@@ -6,0 +6,0 @@ "devDependencies": { |
@@ -17,2 +17,5 @@ # gatsby-plugin-google-tagmanager | ||
id: 'YOUR_GOOGLE_TAGMANAGER_ID', | ||
// Include GTM in development. | ||
// Defaults to false meaning GTM will only be loaded in production. | ||
includeInDevelopment: false | ||
}, | ||
@@ -19,0 +22,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3801
24