diff --git a/.env.example b/.env.example index 35bf46c622..c502690bb2 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/sales NEXT_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.com CALCOM_LICENSE_KEY= # *********************************************************************************************************** @@ -76,7 +77,6 @@ NEXT_PUBLIC_HELPSCOUT_KEY= # Inbox to send user feedback SEND_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 locally NEXT_PUBLIC_IS_E2E= diff --git a/apps/web/lib/telemetry.ts b/apps/web/lib/telemetry.ts index fa34320b43..4c7b0ac170 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