Fix/remove date selector telementry (#1491)

This commit is contained in:
Peer Richelsen 2022-01-12 22:16:38 +00:00 committed by GitHub
parent f7fda47534
commit 20404611b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 6 deletions

View file

@ -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: {

View file

@ -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);

View file

@ -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",
};