Advertisement
FilipFD

nxt_Facebook_destination_added

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