@azzas/azzas-tracker-web 2.0.3-preview.2 → 2.0.3-preview.4
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/dist/mod.cjs +1 -5
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.d.cts +2 -2
- package/dist/mod.d.ts +2 -2
- package/dist/mod.global.js +1 -5
- package/dist/mod.global.js.map +1 -1
- package/dist/mod.js +1 -5
- package/dist/mod.js.map +1 -1
- package/dist/mod.vtex.global.js +1 -3
- package/package.json +1 -1
package/dist/mod.d.cts
CHANGED
|
@@ -63,7 +63,7 @@ declare const EVENTS: {
|
|
|
63
63
|
readonly name: "select_promotion";
|
|
64
64
|
readonly hasEcommerce: true;
|
|
65
65
|
readonly destinations: readonly ["DataLayer"];
|
|
66
|
-
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "
|
|
66
|
+
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "creative_slot", "creative_name"];
|
|
67
67
|
};
|
|
68
68
|
SELECT_CONTENT: {
|
|
69
69
|
readonly name: "select_content";
|
|
@@ -1962,7 +1962,7 @@ declare const _default: {
|
|
|
1962
1962
|
readonly name: "select_promotion";
|
|
1963
1963
|
readonly hasEcommerce: true;
|
|
1964
1964
|
readonly destinations: readonly ["DataLayer"];
|
|
1965
|
-
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "
|
|
1965
|
+
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "creative_slot", "creative_name"];
|
|
1966
1966
|
};
|
|
1967
1967
|
SELECT_CONTENT: {
|
|
1968
1968
|
readonly name: "select_content";
|
package/dist/mod.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ declare const EVENTS: {
|
|
|
63
63
|
readonly name: "select_promotion";
|
|
64
64
|
readonly hasEcommerce: true;
|
|
65
65
|
readonly destinations: readonly ["DataLayer"];
|
|
66
|
-
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "
|
|
66
|
+
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "creative_slot", "creative_name"];
|
|
67
67
|
};
|
|
68
68
|
SELECT_CONTENT: {
|
|
69
69
|
readonly name: "select_content";
|
|
@@ -1962,7 +1962,7 @@ declare const _default: {
|
|
|
1962
1962
|
readonly name: "select_promotion";
|
|
1963
1963
|
readonly hasEcommerce: true;
|
|
1964
1964
|
readonly destinations: readonly ["DataLayer"];
|
|
1965
|
-
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "
|
|
1965
|
+
readonly requiredParams: readonly ["brand", "region", "currency", "promotion_name", "creative_slot", "creative_name"];
|
|
1966
1966
|
};
|
|
1967
1967
|
SELECT_CONTENT: {
|
|
1968
1968
|
readonly name: "select_content";
|
package/dist/mod.global.js
CHANGED
|
@@ -144,7 +144,6 @@ var AzzasTracker = (() => {
|
|
|
144
144
|
"promotion_name",
|
|
145
145
|
"creative_slot",
|
|
146
146
|
"creative_name"
|
|
147
|
-
// "items",
|
|
148
147
|
]
|
|
149
148
|
},
|
|
150
149
|
SELECT_PROMOTION: {
|
|
@@ -156,10 +155,8 @@ var AzzasTracker = (() => {
|
|
|
156
155
|
"region",
|
|
157
156
|
"currency",
|
|
158
157
|
"promotion_name",
|
|
159
|
-
"promotion_url",
|
|
160
158
|
"creative_slot",
|
|
161
159
|
"creative_name"
|
|
162
|
-
// "items",
|
|
163
160
|
]
|
|
164
161
|
},
|
|
165
162
|
SELECT_CONTENT: {
|
|
@@ -2388,8 +2385,7 @@ var AzzasTracker = (() => {
|
|
|
2388
2385
|
return couponMessages.map((msg) => msg.text).join(" | ");
|
|
2389
2386
|
},
|
|
2390
2387
|
coupon: (context) => {
|
|
2391
|
-
|
|
2392
|
-
return context.appliedCoupon || ((_b = (_a = context == null ? void 0 : context.orderForm) == null ? void 0 : _a.marketingData) == null ? void 0 : _b.coupon) || null;
|
|
2388
|
+
return context.appliedCoupon || null;
|
|
2393
2389
|
},
|
|
2394
2390
|
seller_cod_name: (context) => {
|
|
2395
2391
|
return context.appliedSellerCodName || null;
|