Skip to content

Add snowplow tracking to SSO registration

Ross Byrne requested to merge 410416-add-tracking-to-sso-registration into master

What does this MR do and why?

Resolves https://gitlab.com/gitlab-org/gitlab/-/issues/410416.

Adds snowplow tracking to SSO registration buttons

Screenshots or screen recordings

URL Before After
http://gdk.test:3000/users/sign_up Screenshot_2023-06-08_at_16.57.26 Screenshot_2023-06-08_at_16.58.48
http://gdk.test:3000/-/trial_registrations/new Screenshot_2023-06-08_at_17.00.24 Screenshot_2023-06-08_at_17.03.40

How to set up and validate locally

  1. Setup your local GDK to simulate a SAAS instance
  2. For tracking verification, setup Snowplow Micro
  3. Logout
  4. Navigate to http://gdk.test:3000/users/sign_up
  5. Registering with SSO button should generate a tracking event with free_registration label
  6. Navigate to http://gdk.test:3000/-/trial_registrations/new
  7. Registering with SSO button should generate a tracking event with trial_registration label

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #410416

Edited by Ross Byrne

Merge request reports