Skip to content

Add tracking options to the trial popover cta

What does this MR do and why?

Change default hand raise lead label for modal launch. Change it to be snake cased at the least from Contact sales to contact_sales.

Even better, maybe give it more context if it would help such as hand_raise_lead_form_launch or hand_raise_lead_form or something like that.

Screenshots or screen recordings

Screenshot_2023-09-18_at_13.13.17
Screenshot_2023-09-18_at_13.14.00
Screenshot_2023-09-18_at_13.14.20

How to set up and validate locally

  • Setup gdk to simulate SaaS - https://docs.gitlab.com/ee/development/ee_features.html#simulate-a-saas-instance and restart GDK
  • Start a trial for a free group. Visit billing page.
  • Click Contact sales button.
  • Make sure snowplow has an event with hand_raise_lead_form tracking label.
  • Enable old navigation. Hover the trial popover. Click Contact sales button.
  • Make sure snowplow has an event with trial_status_popover_hand_raise_lead_form tracking label.
  • Enable new navigation. Hover the trial popover. Click Contact sales button.
  • Make sure snowplow has an event with trial_status_popover_hand_raise_lead_form tracking label.

How to test snowplow frontend events

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

Edited by Serhii Yarynovskyi

Merge request reports