Skip to content

Instrument GitLab.com New Subscription Purchase flow (SaaS)

Sam Figueroa requested to merge 342853-track-saas-signup-events into master

What does this MR do and why?

This MR adds tracking to our SaaS checkout page in different places. (Check related issue #342853 (closed) for details). We've bundled some of the tracking calls to happen when a step transition takes place (between the major sections of the checkout).

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Check out this MR's branch
  2. Start GDK
  3. Start snowplow micro (Checkout our snowplow-micro-configuration repo and run sh snowplow-micro.sh
  4. Add an ENV var to your shell for export SNOWPLOW_MICRO_ENABLE=1
  5. Enable the Snowplow integration in your admin settings
  6. Start CustomersDot locally
  7. Add an ENV var to your shell for export CUSTOMER_PORTAL_URL="http://localhost:5000"
  8. Restart GDK
  9. Click through SaaS checkout http://localhost:3000/-/subscriptions/new
  10. Check output of captured events on snowplow micro http://localhost:9090/micro/good

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 #342853 (closed)

Edited by Sam Figueroa

Merge request reports