Fix/remove date selector telementry (#1491)
This commit is contained in:
		
							parent
							
								
									f7fda47534
								
							
						
					
					
						commit
						20404611b0
					
				
					 3 changed files with 0 additions and 6 deletions
				
			
		|  | @ -61,7 +61,6 @@ const AvailabilityPage = ({ profile, eventType, workingHours }: Props) => { | |||
|   }, [telemetry]); | ||||
| 
 | ||||
|   const changeDate = (newDate: Dayjs) => { | ||||
|     telemetry.withJitsu((jitsu) => jitsu.track(telemetryEventTypes.dateSelected, collectPageParameters())); | ||||
|     router.replace( | ||||
|       { | ||||
|         query: { | ||||
|  |  | |||
|  | @ -112,9 +112,6 @@ const BookingPage = (props: BookingPageProps) => { | |||
|   }, [router.query.guest]); | ||||
| 
 | ||||
|   const telemetry = useTelemetry(); | ||||
|   useEffect(() => { | ||||
|     telemetry.withJitsu((jitsu) => jitsu.track(telemetryEventTypes.timeSelected, collectPageParameters())); | ||||
|   }, [telemetry]); | ||||
| 
 | ||||
|   const locationInfo = (type: LocationType) => locations.find((location) => location.type === type); | ||||
| 
 | ||||
|  |  | |||
|  | @ -7,8 +7,6 @@ import React, { useContext } from "react"; | |||
|  */ | ||||
| export const telemetryEventTypes = { | ||||
|   pageView: "page_view", | ||||
|   dateSelected: "date_selected", | ||||
|   timeSelected: "time_selected", | ||||
|   bookingConfirmed: "booking_confirmed", | ||||
|   bookingCancelled: "booking_cancelled", | ||||
| }; | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Peer Richelsen
						Peer Richelsen