Instrument GitLab.com New Subscription Purchase flow (SaaS)
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
- Check out this MR's branch
- Start GDK
- Start snowplow micro (Checkout our
snowplow-micro-configuration
repo and runsh snowplow-micro.sh
- Add an ENV var to your shell for
export SNOWPLOW_MICRO_ENABLE=1
- Enable the Snowplow integration in your admin settings
- Start CustomersDot locally
- Add an ENV var to your shell for
export CUSTOMER_PORTAL_URL="http://localhost:5000"
- Restart GDK
- Click through SaaS checkout
http://localhost:3000/-/subscriptions/new
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #342853 (closed)
Edited by Sam Figueroa