renamed booking_confirmed to booking_attempted, needs reintroduction of booking_confirmed on API layer when email confirmations are being sent, needs renaming on postgres too (#1639)
This commit is contained in:
		
							parent
							
								
									2f5e7bcb8b
								
							
						
					
					
						commit
						e8ecab6456
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -211,7 +211,7 @@ const BookingPage = (props: BookingPageProps) => { | |||
| 
 | ||||
|   const bookEvent = (booking: BookingFormValues) => { | ||||
|     telemetry.withJitsu((jitsu) => | ||||
|       jitsu.track(telemetryEventTypes.bookingConfirmed, collectPageParameters()) | ||||
|       jitsu.track(telemetryEventTypes.bookingAttempted, collectPageParameters()) | ||||
|     ); | ||||
| 
 | ||||
|     // "metadata" is a reserved key to allow for connecting external users without relying on the email address.
 | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ import React, { useContext } from "react"; | |||
|  */ | ||||
| export const telemetryEventTypes = { | ||||
|   pageView: "page_view", | ||||
|   bookingAttempted: "booking_attempted", | ||||
|   bookingConfirmed: "booking_confirmed", | ||||
|   bookingCancelled: "booking_cancelled", | ||||
|   importSubmitted: "import_submitted", | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Peer Richelsen
						Peer Richelsen