@nuskin/ns-shop 7.8.3 → 7.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.8.3",
3
+ "version": "7.8.4",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -503,7 +503,8 @@ const populateCategory = (salesOrder) => {
503
503
  } else if (util.getSponsorId()) {
504
504
  // affiliates don't use a subdomain. So if we have a sponsor and it isn't a pitch then we consider it a storefront
505
505
  salesOrder.Category = "STOREFRONT";
506
- } else if (utmMedium && utmMedium.toLowerCase().includes('paidsearch')) {
506
+ } else if (utmMedium &&
507
+ (utmMedium.toLowerCase().includes('cpc') || utmMedium.toLowerCase().includes('paidsearch'))) {
507
508
  salesOrder.Category = 'PAIDSEARCH';
508
509
  } else if (utmMedium && utmMedium.toLowerCase().includes('paidsocial')) {
509
510
  salesOrder.Category = 'PAIDAD';