Scheduling infrastructure for absolutely everyone.
Adds license to telemetry
zomars3919d8748638
diff --git a/.env.example b/.env.exampleindex 35bf46c622d..c502690bb2b 100644--- a/.env.example+++ b/.env.example@@ -15,7 +15,8 @@# - You can not repackage or sell the codebase# - Acquire a commercial license to remove these terms by visiting: cal.com/salesNEXT_PUBLIC_LICENSE_CONSENT=''-# To enable enterprise-only features, fill your license key in here+# To enable enterprise-only features, fill your license key in here.+# @see https://console.cal.comCALCOM_LICENSE_KEY=# ***********************************************************************************************************@@ -76,7 +77,6 @@ NEXT_PUBLIC_HELPSCOUT_KEY=# Inbox to send user feedbackSEND_FEEDBACK_EMAIL=-# This is used so we can bypass emails in auth flows for E2E testing# Set it to "1" if you need to run E2E tests locallyNEXT_PUBLIC_IS_E2E=diff --git a/apps/web/lib/telemetry.ts b/apps/web/lib/telemetry.tsindex fa34320b434..4c7b0ac170f 100644--- a/apps/web/lib/telemetry.ts+++ b/apps/web/lib/telemetry.ts@@ -76,6 +76,7 @@ export const extendEventData = (queryString: "",page_url: pageUrl,licenseConsent: !!process.env.NEXT_PUBLIC_LICENSE_CONSENT,+ licensekey: process.env.CALCOM_LICENSE_KEY,isTeamBooking:original?.isTeamBooking === undefined? pageUrl?.includes("team/") || undefined