mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Record new user sign-ups
Summary: Adds Google Tag Manager snippet to all login pages, and a new user preference, recordSignUpEvent, that's set to true on first sign-in. The client now checks for this preference, and if true, dynamically loads Google Tag Manager to record a sign-up event. Afterwards, it removes the preference. Test Plan: Tested manually. Reviewers: dsagal Reviewed By: dsagal Subscribers: dsagal Differential Revision: https://phab.getgrist.com/D3319
This commit is contained in:
@@ -17,6 +17,9 @@ export interface UserPrefs extends Prefs {
|
||||
// Whether to ask the user to fill out a form about their use-case, on opening the DocMenu page.
|
||||
// Set to true on first login, then reset when the form is closed, so that it only shows once.
|
||||
showNewUserQuestions?: boolean;
|
||||
// Whether to record a new sign-up event via Google Tag Manager. Set to true on first login, then
|
||||
// reset on first page load (after the event is sent), so that it's only recorded once.
|
||||
recordSignUpEvent?: boolean;
|
||||
}
|
||||
|
||||
export interface UserOrgPrefs extends Prefs {
|
||||
|
||||
Reference in New Issue
Block a user