Commit ad838e86 by Demid Merzlyakov

Analytics: legacy location-related events.

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