Commit 9e7a44f2 by Demid Merzlyakov

Analytics: CCPA events.

parent 5c5ecf21
......@@ -152,9 +152,11 @@ extension TodayViewController: TodayViewModelDelegate {
let alertController = UIAlertController(title: "privacy.notice.title".localized(), message: "privacy.notice.text".localized(), preferredStyle: .alert)
let closeAction = UIAlertAction(title: "privacy.notice.close".localized(), style: .cancel) { (_) in
viewModel.privacyPolicyHasBeenViewed()
analytics(log: .ANALYTICS_CCPA_TODAY_DISMISS)
}
alertController.addAction(closeAction)
self.present(alertController, animated: true, completion: nil)
analytics(log: .ANALYTICS_CCPA_TODAY_DISPLAYED)
}
func showOnboarding(viewModel: TodayViewModel) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment