Add experiment context to snowplow events on trial discover page
What does this MR do and why?
Resolves https://gitlab.com/gitlab-org/gitlab/-/issues/442642
Adds experiment context to snowplow events on the trial discover page. This will allow us to see these events on our experiment dashboard.
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
No visible change
How to set up and validate locally
- Setup GDK to simulate SaaS
- Setup and run Customers Dot
- Setup and run Snowplow Micro
- Enable feature flag by running
echo "Feature.enable :trial_discover_page" | gdk rails c
- Register a new user for a trial
- Navigate to
http://gdk.test:3000/groups/<group_name>/-/discover
- Click on links to videos, etc
- Check snowplow events have experiment context
Related to #442642