Track consolidated Edit dropdown usage
What does this MR do and why?
In 16.2, we delivered the ability to open workspaces from the consolidated Edit dropdown where users can edit a project or a file using different editors:
This merge request adds Snowplow telemetry to track the usage of these options. We are using the following values to conform with the event schema usage recommendation:
User action | event.action | event.label |
---|---|---|
Click "Edit Single File" button | click_consolidated_edit |
edit_single_file |
Click "Edit in Web IDE" button | click_consolidated_edit |
edit_web_ide |
Click "Edit in GitPod" button | click_consolidated_edit |
gitpod |
Click "Edit in Pipeline Editor" button | click_consolidated_edit |
pipeline_editor |
Click in a workspace | click_consolidated_edit |
workspace |
Reasoning We are grouping all clicks to the Edit dropdown using the click_consolidated_edit
action. We use the label
field to identify the specific editor preferred by the user.
Screenshots or screen recordings
This merge request doesn't introduce user-facing changes.
How to set up and validate locally
- If you haven't yet:
- Enable Snowplow in your local gdk. The snowplow URL is
https://snowplow.trx.gitlab.net
- Install the Snowplow analytics debugger to see tracking events.
- Enable Snowplow in your local gdk. The snowplow URL is
- Click the options available in the Edit dropdown.
- Use the Snowplow chrome extension to see the events sent
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 #419271 (closed)
Edited by Enrique Alcántara