feat: Track self serve trial (no-changelog) (#8801)

This commit is contained in:
Omar Ajoue
2024-03-06 10:29:47 +00:00
committed by GitHub
parent 3a7a6c8d6c
commit d778cae9f5
2 changed files with 92 additions and 15 deletions

View File

@@ -726,6 +726,10 @@ export default defineComponent({
if (this.registerForEnterpriseTrial && this.canRegisterForEnterpriseTrial) {
await this.usageStore.requestEnterpriseLicenseTrial();
licenseRequestSucceeded = true;
this.$telemetry.track('User registered for self serve trial', {
email: this.usersStore.currentUser?.email,
instance_id: this.rootStore.instanceId,
});
}
} catch (e) {
this.showError(