Skip to content

Commit 5dc887f

Browse files
committed
Track login_what_is_jetpack_help_screen_learn_more_button_tapped
1 parent d6b5dd9 commit 5dc887f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/Classes/ViewRelated/Fancy Alerts/FancyAlertViewController+UnifiedLogin.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extension FancyAlertViewController {
77
controller.dismiss(animated: true)
88
analytics.track(.loginWhatIsJetpackHelpScreenOkButtonTapped)
99
}
10-
let moreInfoButton = makeLearnMoreAboutJetpackButtonConfig()
10+
let moreInfoButton = makeLearnMoreAboutJetpackButtonConfig(analytics: analytics)
1111
let config = FancyAlertViewController.Config(titleText: Localization.whatIsJetpack,
1212
bodyText: Localization.whatIsJetpackLongDescription,
1313
headerImage: .whatIsJetpackImage,
@@ -105,6 +105,8 @@ private extension FancyAlertViewController {
105105
let safariViewController = SFSafariViewController(url: url)
106106
safariViewController.modalPresentationStyle = .pageSheet
107107
controller.present(safariViewController, animated: true)
108+
109+
analytics.track(.loginWhatIsJetpackHelpScreenLearnMoreButtonTapped)
108110
}
109111
}
110112

0 commit comments

Comments
 (0)