mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add sign-up and sharing/invite telemetry
Summary: Enhances sign-up telemetry with login and verification method metadata, and adds UTM parameters to SendGrid invite email links and Grist document links. Test Plan: Server and manual. Reviewers: dsagal Reviewed By: dsagal Subscribers: dsagal Differential Revision: https://phab.getgrist.com/D4169
This commit is contained in:
@@ -770,10 +770,14 @@ export const TelemetryContracts: TelemetryContracts = {
|
||||
},
|
||||
signupFirstVisit: {
|
||||
category: 'ProductVisits',
|
||||
description: 'Triggered when a new user first opens the Grist app',
|
||||
description: 'Triggered when a new user first opens the Grist app.',
|
||||
minimumTelemetryLevel: Level.full,
|
||||
retentionPeriod: 'indefinitely',
|
||||
metadataContracts: {
|
||||
loginMethod: {
|
||||
description: 'The login method on getgrist.com. May be "Email + Password" or "Google".',
|
||||
dataType: 'string',
|
||||
},
|
||||
siteId: {
|
||||
description: 'The site id of first visit after signup.',
|
||||
dataType: 'number',
|
||||
@@ -798,6 +802,10 @@ export const TelemetryContracts: TelemetryContracts = {
|
||||
minimumTelemetryLevel: Level.full,
|
||||
retentionPeriod: 'indefinitely',
|
||||
metadataContracts: {
|
||||
verificationMethod: {
|
||||
description: 'The verification method. May be "code" or "link".',
|
||||
dataType: 'string',
|
||||
},
|
||||
isAnonymousTemplateSignup: {
|
||||
description: 'Whether the user viewed any templates before signing up.',
|
||||
dataType: 'boolean',
|
||||
|
||||
Reference in New Issue
Block a user