Adds license to telemetry
parent
6f203d14e3
commit
3919d87486
|
@ -15,7 +15,8 @@
|
||||||
# - You can not repackage or sell the codebase
|
# - You can not repackage or sell the codebase
|
||||||
# - Acquire a commercial license to remove these terms by visiting: cal.com/sales
|
# - Acquire a commercial license to remove these terms by visiting: cal.com/sales
|
||||||
NEXT_PUBLIC_LICENSE_CONSENT=''
|
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=
|
CALCOM_LICENSE_KEY=
|
||||||
# ***********************************************************************************************************
|
# ***********************************************************************************************************
|
||||||
|
|
||||||
|
@ -76,7 +77,6 @@ NEXT_PUBLIC_HELPSCOUT_KEY=
|
||||||
# Inbox to send user feedback
|
# Inbox to send user feedback
|
||||||
SEND_FEEDBACK_EMAIL=
|
SEND_FEEDBACK_EMAIL=
|
||||||
|
|
||||||
|
|
||||||
# This is used so we can bypass emails in auth flows for E2E testing
|
# 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
|
# Set it to "1" if you need to run E2E tests locally
|
||||||
NEXT_PUBLIC_IS_E2E=
|
NEXT_PUBLIC_IS_E2E=
|
||||||
|
|
|
@ -76,6 +76,7 @@ export const extendEventData = (
|
||||||
queryString: "",
|
queryString: "",
|
||||||
page_url: pageUrl,
|
page_url: pageUrl,
|
||||||
licenseConsent: !!process.env.NEXT_PUBLIC_LICENSE_CONSENT,
|
licenseConsent: !!process.env.NEXT_PUBLIC_LICENSE_CONSENT,
|
||||||
|
licensekey: process.env.CALCOM_LICENSE_KEY,
|
||||||
isTeamBooking:
|
isTeamBooking:
|
||||||
original?.isTeamBooking === undefined
|
original?.isTeamBooking === undefined
|
||||||
? pageUrl?.includes("team/") || undefined
|
? pageUrl?.includes("team/") || undefined
|
||||||
|
|
Loading…
Reference in New Issue