react-gtm-ts
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -45,8 +45,8 @@ "use strict"; | ||
return; | ||
if (typeof window.dataLayer.push === "undefined") | ||
return; | ||
window.dataLayer.push({ | ||
event, | ||
...more | ||
}); | ||
if (typeof window.dataLayer.push !== "undefined") { | ||
window.dataLayer.push({ | ||
event, | ||
...more | ||
}); | ||
} | ||
}; | ||
@@ -53,0 +53,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "This is a library to facilitate the implementation of Google Tag Manager.", | ||
@@ -8,0 +8,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
6367