Skip to content

Add experiment context to snowplow events on trial discover page

Ross Byrne requested to merge 442642-add-experiment-context-to-events into master

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

  1. Setup GDK to simulate SaaS
  2. Setup and run Customers Dot
  3. Setup and run Snowplow Micro
  4. Enable feature flag by running echo "Feature.enable :trial_discover_page" | gdk rails c
  5. Register a new user for a trial
  6. Navigate to http://gdk.test:3000/groups/<group_name>/-/discover
  7. Click on links to videos, etc
  8. Check snowplow events have experiment context

Related to #442642

Merge request reports