소스 검색

fix(NET-1175): add "email" to telemetry data

the_aceix 1 년 전
부모
커밋
42e522f96b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      logic/telemetry.go

+ 1 - 0
logic/telemetry.go

@@ -74,6 +74,7 @@ func sendTelemetry() error {
 			Set("is_pro_trial", d.IsProTrial).
 			Set("pro_trial_end_date", d.ProTrialEndDate.In(time.UTC).Format("2006-01-02")).
 			Set("admin_email", adminEmail).
+			Set("email", adminEmail). // needed for posthog intgration with hubspot. "admin_admin" can only be removed if not used in posthog
 			Set("is_saas_tenant", d.IsSaasTenant),
 	})
 }