Advertisement
FilipFD

nxt_Facebook_explore_button

Jul 5th, 2021 (edited)
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. func logExplore_buttonEvent(
  2.     sessionHash: String
  3.     userId: String
  4.     appMode: String
  5.     destinationName: String
  6.     startingPoint: String
  7.     startToEndDistance: String
  8.     numberOfExits: String
  9. ) {
  10.     let parameters = [
  11.         AppEvents.ParameterName("sessionHash").rawValue: sessionHash,
  12.         AppEvents.ParameterName("userId").rawValue: userId,
  13.         AppEvents.ParameterName("appMode").rawValue: appMode,
  14.         AppEvents.ParameterName("destinationName").rawValue: destinationName,
  15.         AppEvents.ParameterName("startingPoint").rawValue: startingPoint,
  16.         AppEvents.ParameterName("startToEndDistance").rawValue: startToEndDistance,
  17.         AppEvents.ParameterName("numberOfExits").rawValue: numberOfExits
  18.     ]
  19.  
  20.     AppEvents.logEvent(.init("explore_button"), parameters: parameters)
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement