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)

pull/1640/head
Peer Richelsen 2022-01-28 13:10:59 +00:00 committed by GitHub
parent 2f5e7bcb8b
commit e8ecab6456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -211,7 +211,7 @@ const BookingPage = (props: BookingPageProps) => {
const bookEvent = (booking: BookingFormValues) => { const bookEvent = (booking: BookingFormValues) => {
telemetry.withJitsu((jitsu) => 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. // "metadata" is a reserved key to allow for connecting external users without relying on the email address.

View File

@ -7,6 +7,7 @@ import React, { useContext } from "react";
*/ */
export const telemetryEventTypes = { export const telemetryEventTypes = {
pageView: "page_view", pageView: "page_view",
bookingAttempted: "booking_attempted",
bookingConfirmed: "booking_confirmed", bookingConfirmed: "booking_confirmed",
bookingCancelled: "booking_cancelled", bookingCancelled: "booking_cancelled",
importSubmitted: "import_submitted", importSubmitted: "import_submitted",