mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Add telemetry
Test Plan: Server tests. Reviewers: jarek Differential Revision: https://phab.getgrist.com/D3818
This commit is contained in:
21
app/common/Telemetry.ts
Normal file
21
app/common/Telemetry.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export const TelemetryTemplateSignupCookieName = 'gr_template_signup_trk';
|
||||
|
||||
export const TelemetryEventNames = [
|
||||
'apiUsage',
|
||||
'beaconOpen',
|
||||
'beaconArticleViewed',
|
||||
'beaconEmailSent',
|
||||
'beaconSearch',
|
||||
'documentForked',
|
||||
'documentOpened',
|
||||
'documentUsage',
|
||||
'sendingWebhooks',
|
||||
'signupVerified',
|
||||
'siteMembership',
|
||||
'siteUsage',
|
||||
'tutorialProgressChanged',
|
||||
'tutorialRestarted',
|
||||
'watchedVideoTour',
|
||||
] as const;
|
||||
|
||||
export type TelemetryEventName = typeof TelemetryEventNames[number];
|
||||
Reference in New Issue
Block a user