Revert "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)" (#1640)

This reverts commit e8ecab6456.
pull/1641/head
Peer Richelsen 2022-01-28 13:16:40 +00:00 committed by GitHub
parent e8ecab6456
commit 1f0efb9aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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.

View File

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