Adds license to telemetry
This commit is contained in:
1 parent
6f203d14e3
commit
3919d87486
2 files changed
+3
-2
No files matched your search
+2
-2
@@ -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=
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user