Logs analytics events when the user visits and submits the email selection screen when prompted to consent to share information with a partner.
This leverages existing analytics events created for changing the selected email for a partner in LG-13665 (#11196), using the property needs_completion_screen_reason to differentiate if the email was changed stemming from the consent screen.
📜 Testing Plan
Prerequisites:
If you've already consented for the OIDC sample application, sign in and revoke consent from the "Connected accounts" page of your account dashboard
You must have multiple email addresses associated with your account
Validate that the expected events are logged:
Run make watch_events in a separate terminal process
🎫 Ticket
LG-14389
🛠Summary of changes
Logs analytics events when the user visits and submits the email selection screen when prompted to consent to share information with a partner.
This leverages existing analytics events created for changing the selected email for a partner in LG-13665 (#11196), using the property
needs_completion_screen_reason
to differentiate if the email was changed stemming from the consent screen.📜 Testing Plan
Prerequisites:
Validate that the expected events are logged:
make watch_events
in a separate terminal processmake watch_events
terminal process the eventsp_select_email_visited
with aneeds_completion_screen_reason
valuemake watch_events
terminal process the eventsp_select_email_submitted
withsuccess: true
and aneeds_completion_screen_reason
value