@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
@@ -21,7 +21,7 @@ $ npm install -g @speedkit/cli
21
21
  $ sk COMMAND
22
22
  running command...
23
23
  $ sk (--version)
24
- @speedkit/cli/2.87.0 linux-x64 node-v20.19.2
24
+ @speedkit/cli/2.88.0 linux-x64 node-v20.19.2
25
25
  $ sk --help [COMMAND]
26
26
  USAGE
27
27
  $ sk COMMAND
@@ -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
- key: 'ecConversion',
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
  {
@@ -712,5 +712,5 @@
712
712
  ]
713
713
  }
714
714
  },
715
- "version": "2.87.0"
715
+ "version": "2.88.0"
716
716
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speedkit/cli",
3
3
  "description": "Speed Kit CLI",
4
- "version": "2.87.0",
4
+ "version": "2.88.0",
5
5
  "author": {
6
6
  "name": "Baqend.com",
7
7
  "email": "info@baqend.com"