Commit ad838e86 by Demid Merzlyakov

Analytics: legacy location-related events.

parent 9e7a44f2
......@@ -460,6 +460,7 @@ public class LocationManager {
}
else {
locations = [location] + locations
analytics(log: .ANALYTICS_ADD_LOCATION)
}
if selectLocation {
selectedLocationIndex = 0
......@@ -472,6 +473,7 @@ public class LocationManager {
}
else {
locations.append(location)
analytics(log: .ANALYTICS_ADD_LOCATION)
if selectLocation {
selectedLocationIndex = locations.count - 1
}
......
......@@ -56,6 +56,7 @@ class LocationViewController:UIViewController {
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
analytics(log: .ANALYTICS_VIEW_LOCATIONS)
if openedFromOnboarding {
analytics(log: .ANALYTICS_FTUE_SEARCH_SEEN)
}
......
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