Implementing Trial Discover Page Experiment Stage 2
What does this MR do and why?
Resolves https://gitlab.com/gitlab-org/gitlab/-/issues/412715
Implementing Trial Discover Page Experiment Stage 2
This MR finishes implementing the trial_discover_page
experiment, which was started in !142824 (merged).
This MR adds the content for the /-/groups/<group_name>/discover
page, and adds the experiment tracking.
The (long) list of tracking events are documented on the issue here.
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
Before | After |
---|---|
![]() |
![]() |
![]() |
How to set up and validate locally
- Setup GDK to simulate SaaS
- Setup and run Customers Dot
- Enable feature flag by running
echo "Feature.enable :trial_discover_page" | gdk rails c
Free Registration (My company)
- Create a user at
http://gdk.test:3000/users/sign_up
- On
http://gdk.test:3000/users/sign_up/welcome
, selectMy company or team
underWho will be using GitLab?
- Finish creating user
- Confirm user is on trial
- Confirm
Learn about features
link is on trial widget and popup - Confirm
http://gdk.test:3000/groups/<group_name>/-/discover
renders page
Trial Registration
- Sign out and navigate to
http://gdk.test:3000/-/trial_registrations/new
- Follow the trial registration flow and create a user
- Confirm user is on trial
- Confirm
Learn about features
link is on trial widget and popup - Confirm
http://gdk.test:3000/groups/<group_name>/-/discover
renders page
Finally
- Confirm change isn't visible with feature flag disabled
- Confirm existing users on a trial are excluded from the experiment
- Confirm clicking the trial widget redirects to
/discover
page, instead of the billing page - Disable feature flag by running
echo "Feature.disbale :trial_discover_page" | gdk rails c
Related to #412715
Edited by Ross Byrne