From ee6c3559527a725fbe9a25bf0e3353dfc51b5266 Mon Sep 17 00:00:00 2001 From: Jonathan Almeida Date: Wed, 26 Jun 2024 21:56:24 -0400 Subject: [PATCH] fix(metrics): Update viewName for sign-in metrics --- .../app/scripts/views/mixins/third-party-auth-mixin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fxa-content-server/app/scripts/views/mixins/third-party-auth-mixin.js b/packages/fxa-content-server/app/scripts/views/mixins/third-party-auth-mixin.js index d19fd0ab51..6f149c0e58 100644 --- a/packages/fxa-content-server/app/scripts/views/mixins/third-party-auth-mixin.js +++ b/packages/fxa-content-server/app/scripts/views/mixins/third-party-auth-mixin.js @@ -71,7 +71,7 @@ export default { this.logFlowEvent('google.oauth-start'); - if (this.viewName === 'email-first') { + if (this.viewName === 'enter-email') { GleanMetrics.emailFirst.googleOauthStart(); } @@ -133,7 +133,7 @@ export default { this.logFlowEvent('apple.oauth-start'); - if (this.viewName === 'email-first') { + if (this.viewName === 'enter-email') { GleanMetrics.emailFirst.appleOauthStart(); }