@blotoutio/providers-google-ads-clicks-sdk 1.72.0 → 1.73.0

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 CHANGED
@@ -1014,7 +1014,7 @@ const tag = ({ data, eventName, eventId, manifestVariables, destination, pageUrl
1014
1014
  var _a, _b;
1015
1015
  const result = {
1016
1016
  isFired: false,
1017
- sdkVersion: "1.72.0" ,
1017
+ sdkVersion: "1.73.0" ,
1018
1018
  };
1019
1019
  const tagId = manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['tagId'];
1020
1020
  if (!eventName || !window.gtag || !tagId) {
@@ -1092,10 +1092,6 @@ const tag = ({ data, eventName, eventId, manifestVariables, destination, pageUrl
1092
1092
  * conversion-with-cart-data spec requires for the aw_merchant_id/items
1093
1093
  * payload getCartData builds. Every other event keeps `conversion`.
1094
1094
  *
1095
- * v2 only for now. v1 channels keep firing `conversion` so the rename
1096
- * rolls out with the Data Manager migration instead of changing every
1097
- * live account at once. Widen this once v2 has proved it out.
1098
- *
1099
1095
  * The rename moves nothing else: send_to picks the conversion action, so
1100
1096
  * the same label credits the same action it always did, and
1101
1097
  * transaction_id, value and currency are untouched. But `purchase` is a
@@ -1104,7 +1100,7 @@ const tag = ({ data, eventName, eventId, manifestVariables, destination, pageUrl
1104
1100
  * The conversionLabel guard above is what keeps send_to set on all of
1105
1101
  * these. Do not fire this event outside that guard.
1106
1102
  */
1107
- (_a = window.gtag) === null || _a === void 0 ? void 0 : _a.call(window, 'event', isDataManager && eventName === 'Purchase' ? 'purchase' : 'conversion', conversionPayload);
1103
+ (_a = window.gtag) === null || _a === void 0 ? void 0 : _a.call(window, 'event', eventName === 'Purchase' ? 'purchase' : 'conversion', conversionPayload);
1108
1104
  };
1109
1105
  if (eventName === 'Purchase' &&
1110
1106
  (manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['newCustomerReportingEnabled']) === '1') {
package/index.js CHANGED
@@ -1015,7 +1015,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
1015
1015
  var _a, _b;
1016
1016
  const result = {
1017
1017
  isFired: false,
1018
- sdkVersion: "1.72.0" ,
1018
+ sdkVersion: "1.73.0" ,
1019
1019
  };
1020
1020
  const tagId = manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['tagId'];
1021
1021
  if (!eventName || !window.gtag || !tagId) {
@@ -1093,10 +1093,6 @@ var ProvidersGoogleAdsClicksSdk = (function () {
1093
1093
  * conversion-with-cart-data spec requires for the aw_merchant_id/items
1094
1094
  * payload getCartData builds. Every other event keeps `conversion`.
1095
1095
  *
1096
- * v2 only for now. v1 channels keep firing `conversion` so the rename
1097
- * rolls out with the Data Manager migration instead of changing every
1098
- * live account at once. Widen this once v2 has proved it out.
1099
- *
1100
1096
  * The rename moves nothing else: send_to picks the conversion action, so
1101
1097
  * the same label credits the same action it always did, and
1102
1098
  * transaction_id, value and currency are untouched. But `purchase` is a
@@ -1105,7 +1101,7 @@ var ProvidersGoogleAdsClicksSdk = (function () {
1105
1101
  * The conversionLabel guard above is what keeps send_to set on all of
1106
1102
  * these. Do not fire this event outside that guard.
1107
1103
  */
1108
- (_a = window.gtag) === null || _a === void 0 ? void 0 : _a.call(window, 'event', isDataManager && eventName === 'Purchase' ? 'purchase' : 'conversion', conversionPayload);
1104
+ (_a = window.gtag) === null || _a === void 0 ? void 0 : _a.call(window, 'event', eventName === 'Purchase' ? 'purchase' : 'conversion', conversionPayload);
1109
1105
  };
1110
1106
  if (eventName === 'Purchase' &&
1111
1107
  (manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['newCustomerReportingEnabled']) === '1') {
package/index.mjs CHANGED
@@ -1012,7 +1012,7 @@ const tag = ({ data, eventName, eventId, manifestVariables, destination, pageUrl
1012
1012
  var _a, _b;
1013
1013
  const result = {
1014
1014
  isFired: false,
1015
- sdkVersion: "1.72.0" ,
1015
+ sdkVersion: "1.73.0" ,
1016
1016
  };
1017
1017
  const tagId = manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['tagId'];
1018
1018
  if (!eventName || !window.gtag || !tagId) {
@@ -1090,10 +1090,6 @@ const tag = ({ data, eventName, eventId, manifestVariables, destination, pageUrl
1090
1090
  * conversion-with-cart-data spec requires for the aw_merchant_id/items
1091
1091
  * payload getCartData builds. Every other event keeps `conversion`.
1092
1092
  *
1093
- * v2 only for now. v1 channels keep firing `conversion` so the rename
1094
- * rolls out with the Data Manager migration instead of changing every
1095
- * live account at once. Widen this once v2 has proved it out.
1096
- *
1097
1093
  * The rename moves nothing else: send_to picks the conversion action, so
1098
1094
  * the same label credits the same action it always did, and
1099
1095
  * transaction_id, value and currency are untouched. But `purchase` is a
@@ -1102,7 +1098,7 @@ const tag = ({ data, eventName, eventId, manifestVariables, destination, pageUrl
1102
1098
  * The conversionLabel guard above is what keeps send_to set on all of
1103
1099
  * these. Do not fire this event outside that guard.
1104
1100
  */
1105
- (_a = window.gtag) === null || _a === void 0 ? void 0 : _a.call(window, 'event', isDataManager && eventName === 'Purchase' ? 'purchase' : 'conversion', conversionPayload);
1101
+ (_a = window.gtag) === null || _a === void 0 ? void 0 : _a.call(window, 'event', eventName === 'Purchase' ? 'purchase' : 'conversion', conversionPayload);
1106
1102
  };
1107
1103
  if (eventName === 'Purchase' &&
1108
1104
  (manifestVariables === null || manifestVariables === void 0 ? void 0 : manifestVariables['newCustomerReportingEnabled']) === '1') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-google-ads-clicks-sdk",
3
- "version": "1.72.0",
3
+ "version": "1.73.0",
4
4
  "description": "Google Ads Browser SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",