diff --git a/apps/web/lib/telemetry.ts b/apps/web/lib/telemetry.ts index 070b21567b..76e7e8e8e1 100644 --- a/apps/web/lib/telemetry.ts +++ b/apps/web/lib/telemetry.ts @@ -36,7 +36,8 @@ export function collectPageParameters( } const reportUsage: EventHandler = async (event, { fetch }) => { - if (event.eventType === "booking") { + const ets = telemetryEventTypes; + if ([ets.bookingConfirmed, ets.embedBookingConfirmed].includes(event.eventType)) { const key = process.env.CALCOM_LICENSE_KEY; const url = `${CONSOLE_URL}/api/deployments/usage?key=${key}&quantity=1`; try {