Skip to content

Track clicks on Registration Features CTA

What does this MR do and why?

Related to #348474 (closed)

To add click tracking for gitlab.com and self-managed instances, a new users_clicking_registration_features_offer RedisHLL counter is being added in this MR. The script that sets the event listener is added to the following pages:

  • Project edit (Limit project size)
  • Group edit (Limit project size, restrict access by IP address)
  • Admin > Users index (Email from GitLab)
  • Admin > General (Limit project size)

Screenshots or screen recordings

Screenshots on desktop and mobile
Limit project size Restrict access by IP address Email from GitLab
image image image
image image image

How to set up and validate locally

  1. On a EE instance, without an active subscription, deactivate Service Ping on Admin Area > Metrics and profiling > Usage statistics
  2. Go to any of the pages listed above, showing the RF CTA.
  3. Click the "Enable Service Ping and register for this feature." button.
  4. Verify that the event was called, on the developer options (Network tab, optionally set the "Preserve log" option).
  5. Verify that the button redirects to the correspondent settings page.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Axel García

Merge request reports