Track clicks on Issues
Problem to solve
We should track interactions with the issue pages. Especially because of some parts only triggering change on the FE side like the Discard draft comment
. We need this to be able to validate assumptions like https://gitlab.com/gitlab-org/gitlab-ce/issues/53796.
This is only a placeholder for all tracking events on the issue page.
Proposal
Fire an event in the following cases:
-
Discard draft clicked: ('trackStructEvent','issues','click_button','comment','discard_draft',''
What does success look like, and how can we measure that?
(If no way to measure success, link to an issue that will implement a way to measure this)