From 51f1689ec0aa5c80cf1b9905d4d44bed3b60beea Mon Sep 17 00:00:00 2001 From: Jon Tzeng Date: Thu, 5 Dec 2024 18:08:35 -0800 Subject: [PATCH] Add 'numAccounts' to 'Signup_Complete' event --- CHANGELOG.md | 3 ++- src/actions/LoginActions.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87c3104c26c..91e6843bfff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ## Unreleased -- changed: (iOS) `SimpleTextInput` back chevron replaced with "Cancel" button +- added: 'numAccounts' to 'Signup_Complete' event - added: New Kado OTC provider integration. +- changed: (iOS) `SimpleTextInput` back chevron replaced with "Cancel" button - changed: Improved EdgeCrashEvent reporting with additional metadata, tags, and name/message information. - changed: Integrate `installSurvey` endpoint for post-install survey options diff --git a/src/actions/LoginActions.tsx b/src/actions/LoginActions.tsx index 9488b05aa64..b1603c531d7 100644 --- a/src/actions/LoginActions.tsx +++ b/src/actions/LoginActions.tsx @@ -103,7 +103,7 @@ export function initializeAccount(navigation: NavigationBase, account: EdgeAccou } await createWalletsPromise - dispatch(logEvent('Signup_Complete')) + dispatch(logEvent('Signup_Complete', { numAccounts: getState().core.context.localUsers.length })) } rootNavigation.replace('edgeApp', {