@blotoutio/providers-google-ads-clicks-sdk 1.53.0 → 1.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +7 -5
- package/index.js +7 -5
- package/index.mjs +7 -5
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -705,10 +705,12 @@ const init = ({ manifest, consentData, executionContext, pageUrl, }) => {
|
|
|
705
705
|
customConfig['allow_enhanced_conversions'] = true;
|
|
706
706
|
}
|
|
707
707
|
window.dataLayer = window.dataLayer || [];
|
|
708
|
-
window.gtag =
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
708
|
+
window.gtag =
|
|
709
|
+
window.gtag ||
|
|
710
|
+
function gtag() {
|
|
711
|
+
// eslint-disable-next-line prefer-rest-params
|
|
712
|
+
window.dataLayer.push(arguments);
|
|
713
|
+
};
|
|
712
714
|
if (!window.google_tag_manager ||
|
|
713
715
|
!window.google_tag_manager[manifest.variables['tagId']]) {
|
|
714
716
|
initGAds(manifest.variables['tagId'], consentData, executionContext, (_f = manifest.variables) === null || _f === void 0 ? void 0 : _f['consentSkip']);
|
|
@@ -758,7 +760,7 @@ const tag = ({ data, eventName, manifestVariables, destination, pageUrl, }) => {
|
|
|
758
760
|
var _a;
|
|
759
761
|
const result = {
|
|
760
762
|
isFired: false,
|
|
761
|
-
sdkVersion: "1.53.
|
|
763
|
+
sdkVersion: "1.53.1" ,
|
|
762
764
|
};
|
|
763
765
|
if (!eventName || !window.gtag || !(manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['tagId'])) {
|
|
764
766
|
return result;
|
package/index.js
CHANGED
|
@@ -706,10 +706,12 @@ var ProvidersGoogleAdsClicksSdk = (function () {
|
|
|
706
706
|
customConfig['allow_enhanced_conversions'] = true;
|
|
707
707
|
}
|
|
708
708
|
window.dataLayer = window.dataLayer || [];
|
|
709
|
-
window.gtag =
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
709
|
+
window.gtag =
|
|
710
|
+
window.gtag ||
|
|
711
|
+
function gtag() {
|
|
712
|
+
// eslint-disable-next-line prefer-rest-params
|
|
713
|
+
window.dataLayer.push(arguments);
|
|
714
|
+
};
|
|
713
715
|
if (!window.google_tag_manager ||
|
|
714
716
|
!window.google_tag_manager[manifest.variables['tagId']]) {
|
|
715
717
|
initGAds(manifest.variables['tagId'], consentData, executionContext, (_f = manifest.variables) === null || _f === void 0 ? void 0 : _f['consentSkip']);
|
|
@@ -759,7 +761,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
|
|
|
759
761
|
var _a;
|
|
760
762
|
const result = {
|
|
761
763
|
isFired: false,
|
|
762
|
-
sdkVersion: "1.53.
|
|
764
|
+
sdkVersion: "1.53.1" ,
|
|
763
765
|
};
|
|
764
766
|
if (!eventName || !window.gtag || !(manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['tagId'])) {
|
|
765
767
|
return result;
|
package/index.mjs
CHANGED
|
@@ -703,10 +703,12 @@ const init = ({ manifest, consentData, executionContext, pageUrl, }) => {
|
|
|
703
703
|
customConfig['allow_enhanced_conversions'] = true;
|
|
704
704
|
}
|
|
705
705
|
window.dataLayer = window.dataLayer || [];
|
|
706
|
-
window.gtag =
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
706
|
+
window.gtag =
|
|
707
|
+
window.gtag ||
|
|
708
|
+
function gtag() {
|
|
709
|
+
// eslint-disable-next-line prefer-rest-params
|
|
710
|
+
window.dataLayer.push(arguments);
|
|
711
|
+
};
|
|
710
712
|
if (!window.google_tag_manager ||
|
|
711
713
|
!window.google_tag_manager[manifest.variables['tagId']]) {
|
|
712
714
|
initGAds(manifest.variables['tagId'], consentData, executionContext, (_f = manifest.variables) === null || _f === void 0 ? void 0 : _f['consentSkip']);
|
|
@@ -756,7 +758,7 @@ const tag = ({ data, eventName, manifestVariables, destination, pageUrl, }) => {
|
|
|
756
758
|
var _a;
|
|
757
759
|
const result = {
|
|
758
760
|
isFired: false,
|
|
759
|
-
sdkVersion: "1.53.
|
|
761
|
+
sdkVersion: "1.53.1" ,
|
|
760
762
|
};
|
|
761
763
|
if (!eventName || !window.gtag || !(manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['tagId'])) {
|
|
762
764
|
return result;
|