SHOW:
|
|
- or go back to the newest paste.
1 | - | func logExit_impressionEvent( |
1 | + | func logExit_openedEvent( |
2 | sessionHash: String | |
3 | userId: String | |
4 | appMode: String | |
5 | latitude: String | |
6 | longitude: String | |
7 | exitId: String | |
8 | exitName: String | |
9 | distanceToExit: String | |
10 | ) { | |
11 | let parameters = [ | |
12 | AppEvents.ParameterName("sessionHash").rawValue: sessionHash, | |
13 | AppEvents.ParameterName("userId").rawValue: userId, | |
14 | AppEvents.ParameterName("appMode").rawValue: appMode, | |
15 | AppEvents.ParameterName("latitude").rawValue: latitude, | |
16 | AppEvents.ParameterName("longitude").rawValue: longitude, | |
17 | - | AppEvents.ParameterName("exitName").rawValue: exitName |
17 | + | |
18 | AppEvents.ParameterName("exitName").rawValue: exitName, | |
19 | AppEvents.ParameterName("distanceToExit").rawValue: distanceToExit | |
20 | - | AppEvents.logEvent(.init("exit_impression"), parameters: parameters) |
20 | + | |
21 | ||
22 | AppEvents.logEvent(.init("exit_opened"), parameters: parameters) | |
23 | } |