diff --git a/components/booking/pages/BookingPage.tsx b/components/booking/pages/BookingPage.tsx index 80d409f7..1980a6b2 100644 --- a/components/booking/pages/BookingPage.tsx +++ b/components/booking/pages/BookingPage.tsx @@ -211,7 +211,7 @@ const BookingPage = (props: BookingPageProps) => { const bookEvent = (booking: BookingFormValues) => { telemetry.withJitsu((jitsu) => - jitsu.track(telemetryEventTypes.bookingAttempted, collectPageParameters()) + jitsu.track(telemetryEventTypes.bookingConfirmed, collectPageParameters()) ); // "metadata" is a reserved key to allow for connecting external users without relying on the email address. diff --git a/lib/telemetry.ts b/lib/telemetry.ts index 70e3841c..9f2cd643 100644 --- a/lib/telemetry.ts +++ b/lib/telemetry.ts @@ -7,7 +7,6 @@ import React, { useContext } from "react"; */ export const telemetryEventTypes = { pageView: "page_view", - bookingAttempted: "booking_attempted", bookingConfirmed: "booking_confirmed", bookingCancelled: "booking_cancelled", importSubmitted: "import_submitted",