mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-06 05:04:27 +08:00
Merge pull request #2911 from gravitl/kwesi/net-1175-posthog-trials-to-hubspot
fix(NET-1175): add "email" to telemetry data
This commit is contained in:
commit
715c3051a9
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ func sendTelemetry() error {
|
||||||
Set("is_pro_trial", d.IsProTrial).
|
Set("is_pro_trial", d.IsProTrial).
|
||||||
Set("pro_trial_end_date", d.ProTrialEndDate.In(time.UTC).Format("2006-01-02")).
|
Set("pro_trial_end_date", d.ProTrialEndDate.In(time.UTC).Format("2006-01-02")).
|
||||||
Set("admin_email", adminEmail).
|
Set("admin_email", adminEmail).
|
||||||
|
Set("email", adminEmail). // needed for posthog intgration with hubspot. "admin_email" can only be removed if not used in posthog
|
||||||
Set("is_saas_tenant", d.IsSaasTenant),
|
Set("is_saas_tenant", d.IsSaasTenant),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue