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 |
---|---|---|
How to set up and validate locally
- On a EE instance, without an active subscription, deactivate Service Ping on Admin Area > Metrics and profiling > Usage statistics
- Go to any of the pages listed above, showing the RF CTA.
- Click the "Enable Service Ping and register for this feature." button.
- Verify that the event was called, on the developer options (Network tab, optionally set the "Preserve log" option).
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Axel García