We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 790bb10 commit 32a24aaCopy full SHA for 32a24aa
WooCommerce/Classes/ViewRelated/Coupons/Add and Edit Coupons/AddEditCouponViewModel.swift
@@ -462,7 +462,7 @@ private extension AddEditCouponViewModel {
462
463
func trackCouponCreateInitiated(with coupon: Coupon) {
464
ServiceLocator.analytics.track(.couponCreationInitiated, withProperties: [
465
- "discount_type": coupon.discountType,
+ "discount_type": coupon.discountType.rawValue,
466
"has_expiry_date": coupon.dateExpires != nil,
467
"includes_free_shipping": coupon.freeShipping,
468
"has_product_or_category_restrictions": coupon.excludedProductCategories.isNotEmpty || coupon.excludedProductIds.isNotEmpty,
0 commit comments