Include more versions of registration and login funnel (#5992)

Co-authored-by: Kimberly Siegler <kimberlysiegler@Kimberlys-MacBook-Pro-2.local>
Co-authored-by: Anna Scholtz <anna@scholtzan.net>
This commit is contained in:
ksiegler1 2024-07-31 13:11:59 -07:00 коммит произвёл GitHub
Родитель 0e15bc6b12
Коммит 6abb4be937
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 265 добавлений и 0 удалений

Просмотреть файл

@ -34,6 +34,76 @@ description = "Funnel steps from Login View through 2FA (no backup codes) by Ser
steps = ["login_view", "login_submit", "login_two_factor_view", "login_two_factor_submit", "login_complete"]
dimensions = ["service"]
[funnels.logins_from_google_email_first]
friendly_name = "Email First Google Login Funnel Conversions"
description = "Conversion rate of Google logins starting from the Email First form"
steps = ["email_first_view", "email_first_google_start", "login_complete", "google_login_complete"]
dimensions = ["service"]
[funnels.logins_from_apple_email_first]
friendly_name = "Email First Apple Login Funnel Conversions"
description = "Conversion rate of Apple logins starting from the Email First form"
steps = ["email_first_view", "email_first_apple_start", "login_complete", "apple_login_complete"]
dimensions = ["service"]
[funnels.logins_from_google_reg]
friendly_name = "Registration Page Google Login Funnel Conversions"
description = "Conversion rate of Google logins starting from the Email First form"
steps = ["reg_view", "reg_google_start", "login_complete", "google_login_complete"]
dimensions = ["service"]
[funnels.logins_from_apple_reg]
friendly_name = "Registration Page Apple Login Funnel Conversions"
description = "Conversion rate of Apple logins starting from the Email First form"
steps = ["reg_view", "reg_apple_start", "login_complete", "apple_login_complete"]
dimensions = ["service"]
[funnels.logins_from_google_login]
friendly_name = "Login Page Google Login Funnel Conversions"
description = "Conversion rate of Google logins starting from the login form"
steps = ["login_view", "login_google_start", "login_complete", "google_login_complete"]
dimensions = ["service"]
[funnels.logins_from_apple_login]
friendly_name = "Login Page Apple Login Funnel Conversions"
description = "Conversion rate of Apple logins starting from the Email First form"
steps = ["login_view", "login_apple_start", "login_complete", "apple_login_complete"]
dimensions = ["service"]
[funnels.login_from_google_deeplink]
friendly_name = "Pocket Logins from Google Deeplink"
description = "Login count from Google Deeplink (mainl relevant for Pocket)"
steps = ["google_deeplink", "login_complete", "google_login_complete"]
dimensions = ["service"]
[funnels.logins_from_apple_deeplink]
friendly_name = "Pocket Logins from Apple Deeplink"
description = "Pocket Logins from Apple Deeplink"
steps = ["apple_deeplink", "login_complete", "apple_login_complete"]
dimensions = ["service"]
[funnels.login_from_google_cached_logins]
friendly_name = "Logins from Google from Cached Login"
description = "Login count from Google from cached login page"
steps = ["cached_login_view", "login_complete", "google_login_complete"]
dimensions = ["service"]
[funnels.logins_from_apple_cached_logins]
friendly_name = "Pocket Logins from Apple from Cached Login"
description = "Login count from Apple from cached login page"
steps = ["cached_login_view", "login_complete", "apple_login_complete"]
dimensions = ["service"]
[steps]
[steps.login_view]
@ -45,6 +115,87 @@ where_expression = "event = 'login.view' AND metrics.string.session_flow_id != '
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.email_first_view]
friendly_name = "Email First View Form"
description = "View of the email first form requesting email address"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'email.first_view' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.reg_view]
friendly_name = "Registration View Form"
description = "View of the registration form requesting password info"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'reg.view' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.cached_login_view]
friendly_name = "Cached Login View Form"
description = "View of the cached login form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'cached_login.view' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.email_first_google_start]
friendly_name = "Click on Google Third Party Auth from Email First"
description = "Engagement with Google link on email first form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'email.first_google_oauth_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.email_first_apple_start]
friendly_name = "Click on Apple Third Party Auth from Email First"
description = "Engagement with Apple link on email first form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'email.first_apple_oauth_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.reg_google_start]
friendly_name = "Click on Google Third Party Auth from Registration Page"
description = "Engagement with Google link on registration form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.google_reg_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.reg_apple_start]
friendly_name = "Click on Apple Third Party Auth from Registration Page"
description = "Engagement with Apple link on registration form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.apple_reg_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.login_google_start]
friendly_name = "Click on Google Third Party Auth from Login Page"
description = "Engagement with Google link on login form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.google_login_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.login_apple_start]
friendly_name = "Click on Apple Third Party Auth from Login Page"
description = "Engagement with Apple link on login form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.apple_login_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.login_submit]
friendly_name = "Login Submission Attempt"
description = "Engagement sign in button on the login form"
@ -90,6 +241,42 @@ where_expression = "event = 'login.totp_code_submit' AND metrics.string.session_
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.google_deeplink]
friendly_name = "Google Deeplink"
description = "Google Deeplink Event"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.google_deeplink' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.apple_deeplink]
friendly_name = "Apple Deeplink"
description = "Apple Deeplink Event"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.apple_deeplink' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.google_login_complete]
friendly_name = "Google Login Complete"
description = "Event that indicates the login came from Google"
data_source = "accounts_events_backend"
select_expression = "metrics.string.session_flow_id"
where_expression = "metrics.string.event_name = 'third_party_auth_google_login_complete' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.apple_login_complete]
friendly_name = "Apple Login Complete"
description = "Event that indicates the login came from Apple"
data_source = "accounts_events_backend"
select_expression = "metrics.string.session_flow_id"
where_expression = "metrics.string.event_name = 'third_party_auth_apple_login_complete' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.login_complete]
friendly_name = "Successful Login Completion"
description = "The login flow was completed successfully"
@ -111,6 +298,11 @@ from_expression = "mozdata.accounts_backend.events_stream"
submission_date_column = "DATE(submission_timestamp)"
client_id_column = "metrics.string.account_user_id_sha256"
[data_sources.accounts_events_backend]
from_expression = "mozdata.accounts_backend.accounts_events"
submission_date_column = "DATE(submission_timestamp)"
client_id_column = "metrics.string.account_user_id_sha256"
[dimensions]
[dimensions.service]

Просмотреть файл

@ -41,6 +41,34 @@ description = "Conversion rate of Apple registrations starting from the Email Fi
steps = ["email_first_view", "email_first_apple_start", "reg_complete", "apple_reg_complete"]
dimensions = ["service"]
[funnels.registrations_from_google_login]
friendly_name = "Login Page Google Registration Funnel Conversion"
description = "Conversion rate of Google registrations starting from the Login form"
steps = ["login_view", "login_google_start", "reg_complete", "google_reg_complete"]
dimensions = ["service"]
[funnels.registrations_from_apple_login]
friendly_name = "Login Page Apple Registration Funnel Conversion"
description = "Conversion rate of Apple registrations starting from the Login form"
steps = ["login_view", "login_apple_start", "reg_complete", "apple_reg_complete"]
dimensions = ["service"]
[funnels.registrations_from_google_reg]
friendly_name = "Registration Page Google Registration Funnel Conversion"
description = "Conversion rate of Google registrations starting from the Registration form"
steps = ["reg_view", "reg_google_start", "reg_complete", "google_reg_complete"]
dimensions = ["service"]
[funnels.registrations_from_apple_reg]
friendly_name = "Login Page Apple Registration Funnel Conversion"
description = "Conversion rate of Apple registrations starting from the Login form"
steps = ["reg_view", "reg_apple_start", "reg_complete", "apple_reg_complete"]
dimensions = ["service"]
[steps]
[steps.reg_view]
@ -61,6 +89,15 @@ where_expression = "event = 'email.first_view' AND metrics.string.session_flow_i
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.login_view]
friendly_name = "Login View Form"
description = "View of the login form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'login.view' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.email_first_google_start]
friendly_name = "Click on Google Third Party Auth from Email First"
description = "Engagement with Google link on email first form"
@ -79,6 +116,42 @@ where_expression = "event = 'email.first_apple_oauth_start' AND metrics.string.s
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.reg_google_start]
friendly_name = "Click on Google Third Party Auth from Registration Page"
description = "Engagement with Google link on registration form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.google_reg_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.reg_apple_start]
friendly_name = "Click on Apple Third Party Auth from Registration Page"
description = "Engagement with Apple link on registration form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.apple_reg_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.login_google_start]
friendly_name = "Click on Google Third Party Auth from Login Page"
description = "Engagement with Google link on login form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.google_login_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.login_apple_start]
friendly_name = "Click on Apple Third Party Auth from Login Page"
description = "Engagement with Apple link on login form"
data_source = "events_stream_frontend"
select_expression = "metrics.string.session_flow_id"
where_expression = "event = 'third_party_auth.apple_login_start' AND metrics.string.session_flow_id != ''"
aggregation = "count distinct"
join_previous_step_on = "metrics.string.session_flow_id"
[steps.reg_email_code_view]
friendly_name = "Registration Confirm Email Code View Form"
description = "View of the email confirmation code page"