Skip to content

Instrument errors on welcome page during registration

Roy Liu requested to merge 458777-instrument-errors-on-welcome-page into master

What does this MR do and why?

For the things that are causing the welcome form from being submitted or bounces back to the user on submission, trigger a snowplow tracking event.

Added events are

Category Action Label
registrations:welcome:show track_welcome_form_error user_role_please_select_an_item_in_the_list
registrations:welcome:show track_welcome_form_error missing_who_will_be_using_git_lab
registrations:welcome:show track_welcome_form_error missing_what_would_you_like_to_do
registrations:welcome:update failed_submitting_form one of these four: free_registration; trial_registration; invite_registration; subcription_registration

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

The only difference was due to migrating the radio buttons under "What do you like to do?"

Before After
before_11.21.13_AM after_11.21.13_AM

How to set up and validate locally

  1. Setup to simulate SaaS
  2. Go to /users/sign_up to register a new user
  3. Stop at the welcome page and observe the snowplow events using the snowplow debugger extension.

Related to #458777

Edited by Roy Liu

Merge request reports