Allows telemetry opt-out
This commit is contained in:
1 parent
fd8e4ef890
commit
7536473c9d
4 files changed
+14
-11
No files matched your search
@@ -35,13 +35,15 @@ export function collectPageParameters(
|
||||
|
||||
export const nextCollectBasicSettings: EventSinkOpts = {
|
||||
drivers: [
|
||||
process.env.TELEMETRY_KEY && {
|
||||
type: "jitsu",
|
||||
opts: {
|
||||
key: process.env.TELEMETRY_KEY,
|
||||
server: "https://t.calendso.com",
|
||||
},
|
||||
},
|
||||
process.env.CALCOM_TELEMETRY_DISABLED !== "1"
|
||||
? {
|
||||
type: "jitsu",
|
||||
opts: {
|
||||
key: "s2s.2pvs2bbpqq1zxna97wcml.esb6cikfrf7yn0qoh1nj1",
|
||||
server: "https://t.calendso.com",
|
||||
},
|
||||
}
|
||||
: undefined,
|
||||
process.env.TELEMETRY_DEBUG && { type: "echo", opts: { disableColor: true } },
|
||||
],
|
||||
eventTypes: [
|
||||
|
||||
Reference in new issue
Block a user