@speedkit/cli 2.87.0 → 2.88.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [2.88.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.87.0...v2.88.0) (2025-06-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **customer-config:** suppress ecConversion tracking event for Shopify customers ([bad89dd](https://gitlab.orestes.info/baqend/speed-kit-cli/commit/bad89ddaeca4e535c37ca1f36ab490d03eb2813e))
|
|
7
|
+
|
|
1
8
|
# [2.87.0](https://gitlab.orestes.info/baqend/speed-kit-cli/compare/v2.86.0...v2.87.0) (2025-06-04)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -34,7 +34,10 @@ import { PredictivePreloading } from 'predictive-preloading/predictivePreloading
|
|
|
34
34
|
{{/if}}
|
|
35
35
|
{{#if useGATracking}}
|
|
36
36
|
new GAEcommerceTrackingPlugin({
|
|
37
|
-
defaultCurrency: defaultCurrency
|
|
37
|
+
defaultCurrency: defaultCurrency,
|
|
38
|
+
{{#if isShopify}}
|
|
39
|
+
trackConfirmation: false, // No ecConversion tracking as it is already handled by the Speed Kit Extension for Shopify
|
|
40
|
+
{{/if}}
|
|
38
41
|
}),
|
|
39
42
|
{{/if}}
|
|
40
43
|
|
|
@@ -341,27 +344,8 @@ import { PredictivePreloading } from 'predictive-preloading/predictivePreloading
|
|
|
341
344
|
// }
|
|
342
345
|
// },
|
|
343
346
|
// },
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
on: ShopifyReady,
|
|
347
|
-
set: function() {
|
|
348
|
-
var confirmationPage = location.pathname.indexOf('/thank_you') > -1;
|
|
349
|
-
if (
|
|
350
|
-
confirmationPage &&
|
|
351
|
-
window.Shopify?.checkout
|
|
352
|
-
) {
|
|
353
|
-
var orderId = window.Shopify.checkout.order_id;
|
|
354
|
-
var orderCurrency = window.Shopify.checkout.currency;
|
|
355
|
-
var orderValue = window.Shopify.checkout.total_price;
|
|
356
|
-
|
|
357
|
-
return {
|
|
358
|
-
id: orderId,
|
|
359
|
-
currencyCode: orderCurrency || defaultCurrency,
|
|
360
|
-
revenue: Number(orderValue),
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
},
|
|
347
|
+
|
|
348
|
+
// No custom ecConversion tracking event as it is already handled by the Speed Kit Extension for Shopify
|
|
365
349
|
{{else}}
|
|
366
350
|
|
|
367
351
|
{
|
package/oclif.manifest.json
CHANGED