Commit 5c356235 by Demid Merzlyakov

IOS-71: add Splash screen events and attributes.

parent 1cb9d692
......@@ -96,4 +96,7 @@ public enum AnalyticsEvent: String {
case ANALYTICS_D3_RETAINED = "D3_RETAINED"
/// FTUE Funnel: When the user opens the app for the first time
case ANALYTICS_FIRST_OPEN = "FIRST_OPEN"
/// Splash screen: Fired when a user sees the splash screen (for the first time)
case ANALYTICS_FTUE_SPLASH_SEEN = "FTUE_SPLASH_SEEN"
}
......@@ -59,6 +59,8 @@ class SplashAnimationViewController: UIViewController {
}
private func noCityAnimation() {
analytics(log: .ANALYTICS_FTUE_SPLASH_SEEN)
analytics(set: .splashFTUE, to: true)
self.animationView?.play(completion: {[weak self] _ in
DispatchQueue.global().asyncAfter(deadline: .now() + 0.5) {
self?.appCoordinator.finishAnimation()
......
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