File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
ViewRelated/Coupons/Add and Edit Coupons Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -590,6 +590,7 @@ public enum WooAnalyticsStat: String {
590590 case couponCreationInitiated = " coupon_creation_initiated "
591591 case couponCreationSuccess = " coupon_creation_success "
592592 case couponCreationFailed = " coupon_creation_failed "
593+ case couponCreationSuccessShareTapped = " coupon_creation_success_share_tapped "
593594
594595 // MARK: Inbox Notes
595596 case inboxNotesLoaded = " inbox_notes_loaded "
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct CouponCreationSuccess: View {
3636 VStack ( alignment: . center, spacing: Constants . contentPadding) {
3737 Button ( Localization . shareCoupon) {
3838 showingShareSheet = true
39- // TODO: add analytics
39+ ServiceLocator . analytics. track ( . couponCreationSuccessShareTapped )
4040 }
4141 . buttonStyle ( PrimaryButtonStyle ( ) )
4242 . shareSheet ( isPresented: $showingShareSheet) {
You can’t perform that action at this time.
0 commit comments